summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rwxr-xr-xutil/gitconfig/commit-msg2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/gitconfig/commit-msg b/util/gitconfig/commit-msg
index 2eef752156..ba6fa3ffb6 100755
--- a/util/gitconfig/commit-msg
+++ b/util/gitconfig/commit-msg
@@ -169,7 +169,7 @@ _gen_ChangeId() {
git hash-object -t commit --stdin
}
-if ! grep -qi '^[[:space:]]*\+Signed-off-by:' "$MSG"; then
+if ! grep -qi '^[[:space:]]*Signed-off-by:' "$MSG"; then
printf "\nError: No Signed-off-by line in the commit message.\n"
exit 1
fi