]> Dogcows Code - chaz/openbox/commitdiff
dont restart on HUP. badness. restart on USR1.
authorDana Jansens <danakj@orodu.net>
Sat, 4 Jan 2003 19:22:44 +0000 (19:22 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 4 Jan 2003 19:22:44 +0000 (19:22 +0000)
src/openbox.cc

index 7cee8a9aa578f261fef566f261f8603336a26686..aa7fc9f66fd4e44a5b2a8ac786ab297de5d0a8c3 100644 (file)
@@ -58,11 +58,12 @@ Openbox *Openbox::instance  = (Openbox *) 0;
 void Openbox::signalHandler(int signal)
 {
   switch (signal) {
-  case SIGHUP:
-    printf("Caught HUP signal. Restarting.\n");
+  case SIGUSR1:
+    printf("Caught SIGUSR1 signal. Restarting.\n");
     instance->restart();
     break;
-    
+
+  case SUGHUP:
   case SIGINT:
   case SIGTERM:
   case SIGPIPE:
This page took 0.026982 seconds and 4 git commands to generate.