]> arthur.barton.de Git - backup-script.git/blobdiff - bin/backup-script-wrapper
Fix shellcheck(1) warning SC2197
[backup-script.git] / bin / backup-script-wrapper
index 3ce16a969dc27d73b225cdc2242f419ba5b882fa..64c9d7d8fef8832d627547010d2c38943ecad0dc 100755 (executable)
@@ -13,7 +13,7 @@
 if [ -z "$MAILTO" ]; then
        if id "logcheck" >/dev/null 2>&1; then
                MAILTO="logcheck"
-       elif fgrep "logcheck:" /etc/aliases >/dev/null 2>&1; then
+       elif grep -F "logcheck:" /etc/aliases >/dev/null 2>&1; then
                MAILTO="logcheck"
        else
                MAILTO="root"