]> Dogcows Code - chaz/openbox/commitdiff
proper scoping
authorDana Jansens <danakj@orodu.net>
Thu, 15 Aug 2002 19:12:28 +0000 (19:12 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 15 Aug 2002 19:12:28 +0000 (19:12 +0000)
util/epist/epist.cc

index f83059435edc458c8cd7edaf4c675cf7c3e71064..a0b1666a2dfd70cb13a2c402eda6727095bae652 100644 (file)
@@ -109,12 +109,16 @@ void epist::activateGrabs() {
 
 bool epist::handleSignal(int sig) {
   switch (sig) {
-  case SIGHUP:
+  case SIGHUP: {
     cout << "epist: Restarting on request.\n";
+    
     execvp(_argv[0], _argv);
+
     string base(basename(_argv[0]));
     execvp(base.c_str(), _argv);
+    
     return false;  // this should be unreachable
+  }
 
   case SIGTERM:
   case SIGINT:
This page took 0.024819 seconds and 4 git commands to generate.