mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
Update install.sh
Signed-off-by: Joakim Roubert <joakimr@axis.com>
This commit is contained in:
parent
2548f3ebaa
commit
f0bce02a62
|
@ -473,7 +473,7 @@ do_unmount() {
|
||||||
while read ignore mount ignore; do
|
while read ignore mount ignore; do
|
||||||
MOUNTS="$mount\n$MOUNTS"
|
MOUNTS="$mount\n$MOUNTS"
|
||||||
done </proc/self/mounts
|
done </proc/self/mounts
|
||||||
MOUNTS=$(printf $MOUNTS | sort -r -)
|
MOUNTS=$(printf $MOUNTS | grep "^$1" | sort -r)
|
||||||
if [ -n "${MOUNTS}" ]; then
|
if [ -n "${MOUNTS}" ]; then
|
||||||
umount ${MOUNTS}
|
umount ${MOUNTS}
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user