From: Stéphane Graber Date: Fri, 30 Aug 2013 16:08:26 +0000 (-0400) Subject: avoid zgrep -q as it's failing on some distros X-Git-Tag: lxc-1.0.0.alpha1~1^2~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c69c79b4d86a0bda4a0c1ea2e4cc63d28c7baa6;p=thirdparty%2Flxc.git avoid zgrep -q as it's failing on some distros Reported-by: Filirom1 Signed-off-by: Stéphane Graber --- diff --git a/src/lxc/lxc-checkconfig.in b/src/lxc/lxc-checkconfig.in index 472755f6f..7927aad3a 100644 --- a/src/lxc/lxc-checkconfig.in +++ b/src/lxc/lxc-checkconfig.in @@ -10,7 +10,7 @@ SETCOLOR_WARNING="printf \\033[1;33m" SETCOLOR_NORMAL="printf \\033[0;39m" is_set() { - $GREP -q "$1=[y|m]" $CONFIG + $GREP "$1=[y|m]" $CONFIG > /dev/null return $? }