chiark / gitweb /
journalctl: use _COMM= match for scripts
[elogind.git] / src / core / automount.c
index e6eedda96fb05ce1251ab45bd810be5b0dc1d01d..a20d5340f207cf1567467d2ca47ee31f281a9eaa 100644 (file)
@@ -593,7 +593,7 @@ static void automount_enter_runnning(Automount *a) {
 
         /* We don't take mount requests anymore if we are supposed to
          * shut down anyway */
-        if (unit_pending_inactive(UNIT(a))) {
+        if (unit_stop_pending(UNIT(a))) {
                 log_debug_unit(UNIT(a)->id,
                                "Suppressing automount request on %s since unit stop is scheduled.", UNIT(a)->id);
                 automount_send_ready(a, -EHOSTDOWN);