Do print properly

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2018-10-26 16:37:11 +02:00
parent d8d60fa62f
commit 43f91ebf36

View file

@ -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