From 5f9b655fe0945da3dde52fe62950a1e6d168ca5c Mon Sep 17 00:00:00 2001 From: root Date: Fri, 31 Dec 1999 19:06:41 -0500 Subject: added an exit after starting poweroff --- instr-daemon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/instr-daemon.c b/instr-daemon.c index 3b24548..7b85636 100644 --- a/instr-daemon.c +++ b/instr-daemon.c @@ -345,6 +345,7 @@ static gboolean periodic_poll (void) // poweroff system ("/usr/bin/systemctl poweroff -f"); + exit(0); } int i, output_on_time_so_far; -- cgit