aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sh/rc-mount.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/rc-mount.sh b/sh/rc-mount.sh
index 7fcd3ee9..68aa4c86 100644
--- a/sh/rc-mount.sh
+++ b/sh/rc-mount.sh
@@ -52,12 +52,12 @@ do_unmount()
"${mnt}" >/dev/null 2>&1
sleep 1
retry=$((${retry} - 1))
+ [ ${retry} -le 0 ] && eend 1
;;
esac
[ ${retry} -le 0 ] && break
done
if [ ${retry} -le 0 ]; then
- eend 1
retval=1
else
eend 0