From 0e577bebc5521d0e0fcf0f402f51ccdf3bf06470 Mon Sep 17 00:00:00 2001 From: Fredrik Eriksson Date: Sun, 16 Jun 2024 14:28:54 +0200 Subject: [PATCH] spelling --- bin/sau | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')