Merge pull request #2185 from rockholla/bugfix/2120

2120: fix issue with umount arg list too long on uninstall
This commit is contained in:
Brad Davidson 2020-09-01 17:56:06 -07:00 committed by GitHub
commit 9ac113de4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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