]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- properly quote is_yes() argument
authorJacek Konieczny <jajcus@pld-linux.org>
Mon, 10 May 2010 12:59:51 +0000 (12:59 +0000)
committerJacek Konieczny <jajcus@pld-linux.org>
Mon, 10 May 2010 12:59:51 +0000 (12:59 +0000)
svn-id: @11422

rc.d/init.d/functions

index 4eb024e5fa2ebbc54d11faf7c107afab3dcc9af5..87ca3b99f7f1e842a001b57c07f18f8e184f40c6 100644 (file)
@@ -1246,7 +1246,7 @@ _upstart_controlled () {
                        exit $?
                        ;;
                restart)
-                       if is_yes $has_configtest ; then
+                       if is_yes "$has_configtest" ; then
                                "$script" configtest || exit 1
                        fi
                        upstart_stop $name
@@ -1257,7 +1257,7 @@ _upstart_controlled () {
                        if ! is_upstart_running "$name" ; then
                                exit 0
                        fi
-                       if is_yes $has_configtest ; then
+                       if is_yes "$has_configtest" ; then
                                "$script" configtest || exit 1
                        fi
                        upstart_stop $name
@@ -1265,7 +1265,7 @@ _upstart_controlled () {
                        exit $?
                        ;;
                reload)
-                       if is_yes $has_configtest ; then
+                       if is_yes "$has_configtest" ; then
                                "$script" configtest || exit 1
                        fi
                        if is_upstart_task "$name" ; then
@@ -1277,7 +1277,7 @@ _upstart_controlled () {
                        fi
                        ;;
                force-reload)
-                       if is_yes $has_configtest ; then
+                       if is_yes "$has_configtest" ; then
                                "$script" configtest || exit 1
                        fi
                        if is_upstart_task "$name" ; then
This page took 0.122484 seconds and 4 git commands to generate.