From a872fe5590e8f49695d7ce5a6449af4200c953f9 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 8 Oct 2008 18:32:39 +0000 Subject: [PATCH] Fix status check, #239922 --- init.d/halt.sh.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.d/halt.sh.in b/init.d/halt.sh.in index 9d2ce775..1a87c942 100644 --- a/init.d/halt.sh.in +++ b/init.d/halt.sh.in @@ -102,9 +102,9 @@ if [ "${RC_UNAME}" = "Linux" ]; then do_unmount "mount -n -o remount,ro" \ --skip-point-regex "${no_umounts_r}" \ ${fs:+--skip-fstype-regex} ${fs} --nonetdev - eoutdent - eend $? unmounted=$? + eoutdent + eend ${unmounted} fi if [ ${unmounted} -ne 0 ]; then