mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
2120: fix issue with umount arg list too long on uninstall
Signed-off-by: Patrick Force <patrickforce@gmail.com>
This commit is contained in:
parent
447097a597
commit
8b47ccc4d1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user