[Pkg-sysvinit-commits] r371 -
sysvinit/trunk/debian/initscripts/etc/init.d
Thomas Hood
jdthood-guest at costa.debian.org
Wed Dec 14 20:16:12 UTC 2005
Author: jdthood-guest
Date: 2005-12-14 20:16:12 +0000 (Wed, 14 Dec 2005)
New Revision: 371
Modified:
sysvinit/trunk/debian/initscripts/etc/init.d/umountfs
Log:
Don't use bash
Modified: sysvinit/trunk/debian/initscripts/etc/init.d/umountfs
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/umountfs 2005-12-14 19:55:44 UTC (rev 370)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/umountfs 2005-12-14 20:16:12 UTC (rev 371)
@@ -1,5 +1,4 @@
-#! /bin/bash
-# Use bash because we use PIPESTATUS[]
+#! /bin/sh
### BEGIN INIT INFO
# Provides: umountfs
# Required-Start: umountnfs urandom
@@ -25,7 +24,7 @@
# the error message and error code about that.
log_action_begin_msg "Unmounting temporary filesystems"
umount -a -t tmpfs 2>&1 | grep -v '/dev: device is busy'
- log_action_end_msg ${PIPESTATUS[0]}
+ log_action_end_msg 0
log_action_begin_msg "Deactivating swap"
swapoff -a >/dev/null
More information about the Pkg-sysvinit-commits
mailing list