Skip to content

Commit

Permalink
2120: fix issue with umount arg list too long on uninstall
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Force <[email protected]>
  • Loading branch information
rockholla committed Sep 1, 2020
1 parent 447097a commit 8b47ccc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package/rpm/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8b47ccc

Please sign in to comment.