commit 8e6b5b032e2acc885b6c08992d8f7685ca62257d
parent 646e93ea45412aab6611f1803c2ee805f0d725ee
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Sat, 8 Jun 2019 18:27:39 +0200
silent grep
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/taler-deployment-shared-data b/bin/taler-deployment-shared-data
@@ -33,7 +33,7 @@ fi
# Check if shared-data/ has the right group (test|demo),
# and set the SETGID permission if so.
SHARED_DATA_GROUP=$(stat -L --format "%G" $SHARED_DATA)
-if ! echo $SHARED_DATA_GROUP | grep "^$TALER_CONFIG_ENV$"; then
+if ! echo $SHARED_DATA_GROUP | grep -q "^$TALER_CONFIG_ENV$"; then
echo "$SHARED_DATA has the wrong group ($SHARED_DATA_GROUP), please fix."
exit 1
fi