summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2018-10-26 16:37:11 +0200
committerMatthias Beyer <mail@beyermatthias.de>2018-10-31 17:15:29 +0100
commit43f91ebf3620fd511bb6c3f933ea7d6661c99573 (patch)
treeaa7b898db9a3f53a389871cd709cbc16dfacaac6 /scripts
parentd8d60fa62f0e5ecd82b233763c3290cf246a9c89 (diff)
Do print properly
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/hooks/commit-msg.signoffby-missing-warn.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/hooks/commit-msg.signoffby-missing-warn.sh b/scripts/hooks/commit-msg.signoffby-missing-warn.sh
index 470e6575..a60a1610 100644
--- a/scripts/hooks/commit-msg.signoffby-missing-warn.sh
+++ b/scripts/hooks/commit-msg.signoffby-missing-warn.sh
@@ -9,7 +9,7 @@ RED='\e[0;31m' # Red
NORMAL='\e[0m' # Text Reset
if [ "1" != "$(grep -c '^Signed-off-by: ' "$1")" ]; then
- printf >&2 "%sMissing Signed-off-by line.%s\n" "$RED" "$NORMAL"
+ echo -e >&2 "${RED}Missing Signed-off-by line.${NORMAL}\n"
# To not only warn, but abort the commit, uncomment the next line
# exit 1