Commit 8b47ccc4 authored by Patrick Force's avatar Patrick Force

2120: fix issue with umount arg list too long on uninstall

parent 447097a5
......@@ -554,7 +554,7 @@ do_unmount() {
MOUNTS=$(printf $MOUNTS | grep "^$1" | sort -r)
if [ -n "${MOUNTS}" ]; then
set -x
umount ${MOUNTS}
xargs -n 1 umount <<< ${MOUNTS}
else
set -x
fi
......
......@@ -554,7 +554,7 @@ do_unmount() {
MOUNTS=$(printf $MOUNTS | grep "^$1" | sort -r)
if [ -n "${MOUNTS}" ]; then
set -x
umount ${MOUNTS}
xargs -n 1 umount <<< ${MOUNTS}
else
set -x
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment