chiark / gitweb /
manager: both rescue and emergency should be started in isolate mode
authorLennart Poettering <lennart@poettering.net>
Thu, 24 Jun 2010 01:07:43 +0000 (03:07 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 24 Jun 2010 01:07:43 +0000 (03:07 +0200)
src/manager.c

index f1a79b5..f9763c8 100644 (file)
@@ -1879,7 +1879,7 @@ static int manager_process_signal_fd(Manager *m) {
                         if ((int) sfsi.ssi_signo >= SIGRTMIN+0 &&
                             (int) sfsi.ssi_signo < SIGRTMIN+(int) ELEMENTSOF(table)) {
                                 manager_start_target(m, table[sfsi.ssi_signo - SIGRTMIN],
-                                                     sfsi.ssi_signo == 2 ? JOB_ISOLATE : JOB_REPLACE);
+                                                     (sfsi.ssi_signo == 1 || sfsi.ssi_signo == 2) ? JOB_ISOLATE : JOB_REPLACE);
                                 break;
                         }