[Initscripts-ng-commits] r138 - /trunk/src/insserv/debian/update-rc.d-insserv

pere at users.alioth.debian.org pere at users.alioth.debian.org
Thu Sep 7 15:21:27 UTC 2006


Author: pere
Date: Thu Sep  7 15:21:26 2006
New Revision: 138

URL: http://svn.debian.org/wsvn/initscripts-ng/?sc=1&rev=138
Log:
Minor cleanup.

Modified:
    trunk/src/insserv/debian/update-rc.d-insserv

Modified: trunk/src/insserv/debian/update-rc.d-insserv
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/update-rc.d-insserv?rev=138&op=diff
==============================================================================
--- trunk/src/insserv/debian/update-rc.d-insserv (original)
+++ trunk/src/insserv/debian/update-rc.d-insserv Thu Sep  7 15:21:26 2006
@@ -17,8 +17,8 @@
     my @opts;
     while($#ARGV >= 0 && ($_ = $ARGV[0]) =~ /^-/) {
 	shift @ARGV;
-	if (/^-n$/) { push(@opts, "-n"); next }
-	if (/^-f$/) { push(@opts, "-f"); next }
+	if (/^-n$/) { push(@opts, $_); next }
+	if (/^-f$/) { push(@opts, $_); next }
 	if (/^-h|--help$/) { &usage; }
 	&usage("unknown option");
     }




More information about the Initscripts-ng-commits mailing list