[Pkg-utopia-commits] r1417 -
	/packages/unstable/dbus/debian/dbus.init
    biebl at users.alioth.debian.org 
    biebl at users.alioth.debian.org
       
    Wed Apr 18 17:39:57 UTC 2007
    
    
  
Author: biebl
Date: Wed Apr 18 17:39:56 2007
New Revision: 1417
URL: http://svn.debian.org/wsvn/pkg-utopia/?sc=1&rev=1417
Log:
Add a comment wh
Modified:
    packages/unstable/dbus/debian/dbus.init
Modified: packages/unstable/dbus/debian/dbus.init
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/dbus/debian/dbus.init?rev=1417&op=diff
==============================================================================
--- packages/unstable/dbus/debian/dbus.init (original)
+++ packages/unstable/dbus/debian/dbus.init Wed Apr 18 17:39:56 2007
@@ -53,10 +53,10 @@
 
   # Determine current runlevel
   r=$(/sbin/runlevel) || true
+  r=${r#*\ }
 
+  # Do nothing if we can't determine the runlevel (e.g. inside chroots)
   [ "$r" = "unknown" ] && return
-
-  r=${r#*\ }
 
   if [ "$1" = "stop" ] ; then
     param="--reverse"
    
    
More information about the Pkg-utopia-commits
mailing list