diff --git a/CHANGELOG b/CHANGELOG index 48bb144..928aaa9 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -88,6 +88,7 @@ xx/xx/2018 autofs-5.1.5 - fix incorrect logical compare in unlink_mount_tree(). - use bit flag for force unlink mounts. - improve force unlink option description. +- remove command fifo on autofs mount fail. 19/12/2017 autofs-5.1.4 - fix spec file url. diff --git a/daemon/automount.c b/daemon/automount.c index d72592e..0ab85ef 100644 --- a/daemon/automount.c +++ b/daemon/automount.c @@ -1161,8 +1161,10 @@ static int mount_autofs(struct autofs_point *ap, const char *root) else status = mount_autofs_indirect(ap, root); - if (status < 0) + if (status < 0) { + destroy_logpri_fifo(ap); return -1; + } st_add_task(ap, ST_READY);