summaryrefslogtreecommitdiff
path: root/instr-daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'instr-daemon.c')
-rw-r--r--instr-daemon.c1
1 files changed, 1 insertions, 0 deletions
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;