Explicit patch for this problem. Ripe for action?

--- /usr/sbin/invoke-rc.d.orig
+++ /usr/sbin/invoke-rc.d
@@ -273,13 +273,15 @@
 fi
 
 ## Queries sysvinit for the current runlevel
-RL=`${RUNLEVEL} | sed 's/.*\ //'`
+RL=`${RUNLEVEL}`
 if test ! $? ; then
     printerror "could not determine current runlevel"
     if test x${RETRY} = x ; then
        exit 102
     fi
     RL=
+else
+    RL=`echo $RL | sed 's/.*\ //'`
 fi
 
 ## Running ${RUNLEVEL} to get current runlevel do not work in the boot



_______________________________________________
Pkg-sysvinit-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-sysvinit-devel

Reply via email to