From 631b5a69b0798f0dfeb73ff17015f0b9c8a86f63 Mon Sep 17 00:00:00 2001 From: vvzvlad Date: Mon, 17 Apr 2023 21:48:33 +0700 Subject: [PATCH] fix reboot error --- vestasync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vestasync.py b/vestasync.py index 9eea87b..272e40b 100755 --- a/vestasync.py +++ b/vestasync.py @@ -177,7 +177,7 @@ def create_autogit_systemd(c): def reboot(c): - c.run("reboot > /dev/null 2>&1 || true") + c.run("reboot > /dev/null 2>&1", warn=True) def git_clone(c): c.run(f'mkdir -p /mnt/data/{args.source_hostname}_etc ', hide=True)