X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fautomount.c;h=29b807de515a1fbc76dae742e23f9c126f122fe7;hp=16babd1fa446399d1b839377966424072c90f345;hb=0c85a4f3efa2883c414ed8ff59aea263b85b7687;hpb=c5f0532ff10abcf6808ff503fb10ca9f4df81efd diff --git a/src/automount.c b/src/automount.c index 16babd1fa..29b807de5 100644 --- a/src/automount.c +++ b/src/automount.c @@ -611,7 +611,7 @@ static int automount_start(Unit *u) { assert(a->state == AUTOMOUNT_DEAD || a->state == AUTOMOUNT_FAILED); - if (path_is_mount_point(a->where)) { + if (path_is_mount_point(a->where, false)) { log_error("Path %s is already a mount point, refusing start for %s", a->where, u->meta.id); return -EEXIST; }