chiark / gitweb /
bus: include connection name in credentials structure
[elogind.git] / src / core / swap.c
index e0627db965ab10f5f47b03f3723445c72931d1c3..6b204df5841d1d682bd2025d7f77786d464431b0 100644 (file)
@@ -999,10 +999,7 @@ static void swap_sigchld_event(Unit *u, pid_t pid, int code, int status) {
         case SWAP_DEACTIVATING_SIGKILL:
         case SWAP_DEACTIVATING_SIGTERM:
 
-                if (f == SWAP_SUCCESS)
-                        swap_enter_dead(s, f);
-                else
-                        swap_enter_dead(s, f);
+                swap_enter_dead(s, f);
                 break;
 
         default: