From 22ac66073808e53b6a4c3b6ad9f6a87c4ae0f2bd Mon Sep 17 00:00:00 2001 From: vvzvlad Date: Sun, 28 May 2023 14:30:23 +0700 Subject: [PATCH] remove errors in log --- vestasync.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vestasync.py b/vestasync.py index fb39123..a77211d 100755 --- a/vestasync.py +++ b/vestasync.py @@ -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)