diff --git a/bin/sau b/bin/sau index 426bee2..9fba187 100755 --- a/bin/sau +++ b/bin/sau @@ -46,7 +46,7 @@ def init(): def fork_and_reboot(): log = logging.getLogger(sau.LOGNAME) - if os.path.exist('/proc/1/comm'): + if os.path.exists('/proc/1/comm'): with open('/proc/1/comm', 'r') as f: if f.readline().strip() == 'systemd': os.execl('/usr/bin/systemctl', 'reboot')