From ce794f33d83acd98e3ab28a40a35e29f685298ce Mon Sep 17 00:00:00 2001 From: xaki23 Date: Mon, 10 Sep 2018 17:24:35 +0200 Subject: [PATCH] add missing /sbin/ to hwclock call (so it will work as cronjob) --- qvm-tools/qvm-sync-clock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qvm-tools/qvm-sync-clock b/qvm-tools/qvm-sync-clock index 18e0bcf8..f2c6ecb3 100755 --- a/qvm-tools/qvm-sync-clock +++ b/qvm-tools/qvm-sync-clock @@ -47,7 +47,7 @@ def main(): date_out = untrusted_date_out subprocess.check_call(['date', '-u', '-Iseconds', '-s', date_out], stdout=subprocess.DEVNULL) - subprocess.check_call(['hwclock', '--systohc'], + subprocess.check_call(['/sbin/hwclock', '--systohc'], stdout=subprocess.DEVNULL) if __name__ == '__main__':