summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/prepare-commit-msg2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/prepare-commit-msg b/tools/prepare-commit-msg
index e8150dd1..5045fe7a 100755
--- a/tools/prepare-commit-msg
+++ b/tools/prepare-commit-msg
@@ -11,7 +11,7 @@ add_ci_skip ()
source="$1"
# Don't add [ci skip] if it's already in the commit message source
- grep '\[ci skip\]' "$source" 2>&1 >/dev/null
+ grep '\[ci skip\]' "$source" >/dev/null 2>&1
[ $? -eq 0 ] && return
if [ $(git diff --cached --name-only | grep --count "$pattern") -eq 0 ]; then