aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-10-06 17:42:37 +0000
committerBill Nottingham <notting@redhat.com>1999-10-06 17:42:37 +0000
commit046497b33a54b01c8d7bf472acf559119eff89f5 (patch)
tree8df587b2b3ed8b2e833ebaae4622e39744aa09f4
parenta726c880f72b830fa7607a0c8fb696b434428e17 (diff)
downloadinitscripts-046497b33a54b01c8d7bf472acf559119eff89f5.tar
initscripts-046497b33a54b01c8d7bf472acf559119eff89f5.tar.gz
initscripts-046497b33a54b01c8d7bf472acf559119eff89f5.tar.bz2
initscripts-046497b33a54b01c8d7bf472acf559119eff89f5.tar.xz
initscripts-046497b33a54b01c8d7bf472acf559119eff89f5.zip
fix it. Really, we mean it.
-rwxr-xr-xservice4
1 files changed, 3 insertions, 1 deletions
diff --git a/service b/service
index 7976625d..923f33ae 100755
--- a/service
+++ b/service
@@ -4,7 +4,9 @@ if [ -z "$1" ]; then
echo "no service specified" >&2
exit 1
elif [ -x "/etc/rc.d/init.d/$1" ]; then
- "/etc/rc.d/init.d/$1" $*
+ service=$1
+ shift
+ "/etc/rc.d/init.d/$service" $*
else
echo "$1: unrecognized service" >&2
exit 1