avoid zgrep -q as it's failing on some distros

Reported-by: Filirom1 Signed-off-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent dfa7aa3a
......@@ -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 $?
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment