From 99c01307621afa1dfab7392ee462b2533db5cdd3 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Thu, 23 Feb 2023 11:08:55 -0500
Subject: linhes-system: lh_mtc.py: run backup with sudo

---
 linhes/linhes-system/PKGBUILD  | 4 ++--
 linhes/linhes-system/lh_mtc.py | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/linhes/linhes-system/PKGBUILD b/linhes/linhes-system/PKGBUILD
index c114a40..2d57bbf 100755
--- a/linhes/linhes-system/PKGBUILD
+++ b/linhes/linhes-system/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=linhes-system
 pkgver=9.0.0
-pkgrel=49
+pkgrel=50
 arch=('x86_64')
 #install=$pkgname.install
 pkgdesc="Everything that makes LinHES a system"
@@ -44,7 +44,7 @@ sha256sums=('525bfe29b63d3ec5a17a32fa29745e24070020490c3f5b6dd6b03250348fb324'
             'ebdb3ee0212e0cc72526bb5e50a032573e1894acb7bf75617243b0b49aa1f8f2'
             '4d006f0fe3b13e67de1b961d611e81911905a30d140849dfdb8e5c0dc4da2f7c'
             'e371c6a289c68fe200d7da856c20a8c579efa23178f4d62235f7359d7f6e49a1'
-            '048a978774c4f05a5a9482f0aab32e00d2c21217d6faf8c578ed6b26cb5de67d'
+            'c29eead1fee5b3738dae6fc1dc7592cfede0440cfe7ccfd1d8505327495f07f9'
             'd2d69b2bf6315bd37ff5f5b2f0cde8ab2fb89bae18f8796dc5208ffc1a9d743e'
             'a3f8ba840853e4a189dd52520a6958f4030e1cc3391200a6aeef055fb469f0b4'
             '1819085bd2c9106482c5f243b95fddf3dae69212330ab76cb493add5c26a45a4'
diff --git a/linhes/linhes-system/lh_mtc.py b/linhes/linhes-system/lh_mtc.py
index f79314e..ad229c7 100755
--- a/linhes/linhes-system/lh_mtc.py
+++ b/linhes/linhes-system/lh_mtc.py
@@ -120,7 +120,7 @@ def run_stuff():
         if ("--backup" in sys.argv) or runall:
             print("\n#######################################")
             print("\n%s Running Backup" %(get_timestamp()))
-            if not os.system('/usr/bin/lh_system_backup_job'):
+            if not os.system('sudo /usr/bin/lh_system_backup_job'):
                 print("\nFinished Backup")
 
         if ("--update" in sys.argv) or runall:
-- 
cgit v0.12

