aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-10-08 18:32:39 +0000
committerRoy Marples <roy@marples.name>2008-10-08 18:32:39 +0000
commita872fe5590e8f49695d7ce5a6449af4200c953f9 (patch)
tree3f49d50720876f13d181428b42aec3996b7f6adf
parent8c8751fa60b529d190ca85857096cf741b0436de (diff)
Fix status check, #239922
-rw-r--r--init.d/halt.sh.in4
1 files 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