remove errors in log

This commit is contained in:
vvzvlad 2023-05-28 14:30:23 +07:00
parent c016576c60
commit 22ac660738

View File

@ -188,11 +188,11 @@ def create_autogit_systemd(c):
def mark_original_restored(c, mark): def mark_original_restored(c, mark):
if mark == "original": if mark == "original":
c.run("rm /mnt/data/etc/vestasync/restored", warn=True) c.run("rm /mnt/data/etc/vestasync/restored", warn=True, hide=True)
c.run("touch /mnt/data/etc/vestasync/original", warn=True) c.run("touch /mnt/data/etc/vestasync/original", warn=True, hide=True)
if mark == "restored": if mark == "restored":
c.run("touch /mnt/data/etc/vestasync/restored", warn=True) c.run("touch /mnt/data/etc/vestasync/restored", warn=True, hide=True)
c.run("rm /mnt/data/etc/vestasync/original", warn=True) c.run("rm /mnt/data/etc/vestasync/original", warn=True, hide=True)
def reboot(c): def reboot(c):
c.run("reboot > /dev/null 2>&1", warn=True) c.run("reboot > /dev/null 2>&1", warn=True)