X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fautomount.c;h=a20d5340f207cf1567467d2ca47ee31f281a9eaa;hb=06eb4e3bf87584ea526a90643d49037cf6ffd7ff;hp=e6eedda96fb05ce1251ab45bd810be5b0dc1d01d;hpb=3ecaa09bccd8a59c9f1e06756a1334a162206dc4;p=elogind.git diff --git a/src/core/automount.c b/src/core/automount.c index e6eedda96..a20d5340f 100644 --- a/src/core/automount.c +++ b/src/core/automount.c @@ -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);