]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix Arch Linux SERVICESTATUS override.
authorRoy Marples <roy@marples.name>
Sun, 22 May 2011 06:19:33 +0000 (06:19 +0000)
committerRoy Marples <roy@marples.name>
Sun, 22 May 2011 06:19:33 +0000 (06:19 +0000)
Thanks to Clemens Fischer.

configure

index 8843435bc8558ddcc1384ee2655d8a123775163a..6b464a17af5161431640befe1189e6d126fa8b8b 100755 (executable)
--- a/configure
+++ b/configure
@@ -414,8 +414,7 @@ if [ -z "$SERVICECMD" ]; then
 fi
 if [ -e /etc/arch-release ]; then
        echo "Overriding service status check for Arch Linux"
-       SERVICESTATUS="[ -e /var/run/daemons/$1 ]"
-       echo "yes"
+       SERVICESTATUS="[ -e /var/run/daemons/\$1 ]"
 fi
 
 if [ -z "$SERVICEEXISTS" -o -z "$SERVICECMD" ]; then