summaryrefslogtreecommitdiffstats
path: root/linhes/linhes-system/lh_mtc.py
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2023-02-23 16:08:55 (GMT)
committerBritney Fransen <brfransen@gmail.com>2023-02-23 16:08:55 (GMT)
commit99c01307621afa1dfab7392ee462b2533db5cdd3 (patch)
treedc9123800b2e932f376180d7369696745f5b5cc9 /linhes/linhes-system/lh_mtc.py
parent4eba30d8df83e79a9257dbf8961ac69c474e96ce (diff)
downloadlinhes_pkgbuild-99c01307621afa1dfab7392ee462b2533db5cdd3.zip
linhes_pkgbuild-99c01307621afa1dfab7392ee462b2533db5cdd3.tar.gz
linhes_pkgbuild-99c01307621afa1dfab7392ee462b2533db5cdd3.tar.bz2
linhes-system: lh_mtc.py: run backup with sudo
Diffstat (limited to 'linhes/linhes-system/lh_mtc.py')
-rwxr-xr-xlinhes/linhes-system/lh_mtc.py2
1 files changed, 1 insertions, 1 deletions
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: