Fix ctrl+alt+del support
[project/procd.git] / procd.c
diff --git a/procd.c b/procd.c
index ad80284..8dcd924 100644 (file)
--- a/procd.c
+++ b/procd.c
@@ -15,6 +15,7 @@
 #include <sys/wait.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/wait.h>
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <sys/reboot.h>
 
 #include <unistd.h>
 #include <getopt.h>
 
 #include <unistd.h>
 #include <getopt.h>
@@ -69,6 +70,7 @@ int main(int argc, char **argv)
        else
                procd_state_next();
        uloop_run();
        else
                procd_state_next();
        uloop_run();
+       uloop_done();
 
        return 0;
 }
 
        return 0;
 }