add missing /sbin/ to hwclock call (so it will work as cronjob)
This commit is contained in:
parent
a371375f1d
commit
ce794f33d8
@ -47,7 +47,7 @@ def main():
|
|||||||
date_out = untrusted_date_out
|
date_out = untrusted_date_out
|
||||||
subprocess.check_call(['date', '-u', '-Iseconds', '-s', date_out],
|
subprocess.check_call(['date', '-u', '-Iseconds', '-s', date_out],
|
||||||
stdout=subprocess.DEVNULL)
|
stdout=subprocess.DEVNULL)
|
||||||
subprocess.check_call(['hwclock', '--systohc'],
|
subprocess.check_call(['/sbin/hwclock', '--systohc'],
|
||||||
stdout=subprocess.DEVNULL)
|
stdout=subprocess.DEVNULL)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Loading…
Reference in New Issue
Block a user