]> err.no Git - systemd/commitdiff
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 f1a79b5e899eb2c7dd14453cec1790d44dd52cf3..f9763c838a2faab722fd6b0720579818931d31b7 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;
                         }