diff options
author | Roy Marples <roy@marples.name> | 2008-03-21 11:20:03 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-03-21 11:20:03 +0000 |
commit | 4079b4d65d6f8f8b9f8b29bfdce2abc773cdabad (patch) | |
tree | caedfe91d56d640de98c9f5deead42954fc4f8da | |
parent | eca292e5d9a2ae753257633ab9113c225f11a10b (diff) |
Clean up error display.
-rw-r--r-- | sh/rc-mount.sh | 2 |
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 |