]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Fix SETCOLOR_FAILURE evaluation
authorPierre LALET <pierre.lalet@cea.fr>
Sun, 3 Dec 2017 10:28:07 +0000 (11:28 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sun, 17 Dec 2017 14:49:46 +0000 (15:49 +0100)
Signed-off-by: Pierre LALET <pierre.lalet@cea.fr>
src/lxc/tools/lxc-checkconfig.in

index 61681ee127b8378e7d607edc5a85c4fa7902b68e..d9c67492fa888ed120ae24f539f8e4fcce6a77f8 100644 (file)
@@ -153,14 +153,14 @@ echo
 CGROUP_SYSTEMD_MNTPT=`echo "$CGROUP_V1_MNTS" | grep "/systemd"`
 if [ -z "$CGROUP_SYSTEMD_MNTPT" ]; then
     echo -n "Cgroup v1 systemd controller: "
-    "$SETCOLOR_FAILURE" && echo -n "missing" && $SETCOLOR_NORMAL
+    $SETCOLOR_FAILURE && echo -n "missing" && $SETCOLOR_NORMAL
     echo
 fi
 
 CGROUP_FREEZER_MNTPT=`echo "$CGROUP_V1_MNTS" | grep "/freezer"`
 if [ -z "$CGROUP_FREEZER_MNTPT" ]; then
     echo -n "Cgroup v1 freezer controller: "
-    "$SETCOLOR_FAILURE" && echo -n "missing" && $SETCOLOR_NORMAL
+    $SETCOLOR_FAILURE && echo -n "missing" && $SETCOLOR_NORMAL
     echo
 fi