From 4079b4d65d6f8f8b9f8b29bfdce2abc773cdabad Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 21 Mar 2008 11:20:03 +0000 Subject: Clean up error display. --- sh/rc-mount.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sh') 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 -- cgit v1.2.3