diff options
author | Britney Fransen <brfransen@gmail.com> | 2023-02-23 16:08:55 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2023-02-23 16:08:55 (GMT) |
commit | 99c01307621afa1dfab7392ee462b2533db5cdd3 (patch) | |
tree | dc9123800b2e932f376180d7369696745f5b5cc9 /linhes/linhes-system/lh_mtc.py | |
parent | 4eba30d8df83e79a9257dbf8961ac69c474e96ce (diff) | |
download | linhes_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-x | linhes/linhes-system/lh_mtc.py | 2 |
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: |