Package: initscripts
Version: 2.86.ds.1-8

In umountfs does not find anything to unmount, it still attempts to call umount -f -r -d "$DIRS", which results in an error showing the usage of "umount".

The following fixes it on my system:

@@ -51,7 +51,11 @@ do_stop () {
                        esac
                        DIRS="$DIRS $DIR"
                done
-               umount -f -r -d $DIRS
+               if [ -n "$DIRS" ] ; then
+                 umount -f -r -d $DIRS
+               else
+                 true
+               fi
        )
        log_action_end_msg $?
 }



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to