Clean up error display.
This commit is contained in:
parent
eca292e5d9
commit
4079b4d65d
@ -52,12 +52,12 @@ do_unmount()
|
|||||||
"${mnt}" >/dev/null 2>&1
|
"${mnt}" >/dev/null 2>&1
|
||||||
sleep 1
|
sleep 1
|
||||||
retry=$((${retry} - 1))
|
retry=$((${retry} - 1))
|
||||||
|
[ ${retry} -le 0 ] && eend 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
[ ${retry} -le 0 ] && break
|
[ ${retry} -le 0 ] && break
|
||||||
done
|
done
|
||||||
if [ ${retry} -le 0 ]; then
|
if [ ${retry} -le 0 ]; then
|
||||||
eend 1
|
|
||||||
retval=1
|
retval=1
|
||||||
else
|
else
|
||||||
eend 0
|
eend 0
|
||||||
|
Loading…
Reference in New Issue
Block a user