summaryrefslogtreecommitdiff
path: root/instr-daemon.c
diff options
context:
space:
mode:
authorroot <root@avtech.domain.avtechpulse.com>1999-12-31 19:06:41 -0500
committerroot <root@avtech.domain.avtechpulse.com>1999-12-31 19:06:41 -0500
commit5f9b655fe0945da3dde52fe62950a1e6d168ca5c (patch)
treee0b60d59529474c94eae0ea3d92f328f59069576 /instr-daemon.c
parent2bb3f858f5fc0fff258633f03eb94733cf72c1fc (diff)
added an exit after starting poweroff
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;