From 819cfa029a3c4ce35bf22e99bf7a1b0d594b3a91 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Tue, 18 Apr 2017 11:59:28 +0200 Subject: [PATCH] Fix shellcheck(1) warning SC2197 "fgrep is non-standard and deprecated. Use grep -F instead." --- bin/backup-script-wrapper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/backup-script-wrapper b/bin/backup-script-wrapper index 3ce16a9..64c9d7d 100755 --- a/bin/backup-script-wrapper +++ b/bin/backup-script-wrapper @@ -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" -- 2.39.2