mirror of
https://github.com/vvzvlad/vestasync.git
synced 2024-11-05 06:49:11 +03:00
remove errors in log
This commit is contained in:
parent
c016576c60
commit
22ac660738
@ -188,11 +188,11 @@ def create_autogit_systemd(c):
|
||||
|
||||
def mark_original_restored(c, mark):
|
||||
if mark == "original":
|
||||
c.run("rm /mnt/data/etc/vestasync/restored", warn=True)
|
||||
c.run("touch /mnt/data/etc/vestasync/original", warn=True)
|
||||
c.run("rm /mnt/data/etc/vestasync/restored", warn=True, hide=True)
|
||||
c.run("touch /mnt/data/etc/vestasync/original", warn=True, hide=True)
|
||||
if mark == "restored":
|
||||
c.run("touch /mnt/data/etc/vestasync/restored", warn=True)
|
||||
c.run("rm /mnt/data/etc/vestasync/original", warn=True)
|
||||
c.run("touch /mnt/data/etc/vestasync/restored", warn=True, hide=True)
|
||||
c.run("rm /mnt/data/etc/vestasync/original", warn=True, hide=True)
|
||||
|
||||
def reboot(c):
|
||||
c.run("reboot > /dev/null 2>&1", warn=True)
|
||||
|
Loading…
Reference in New Issue
Block a user