Do print properly
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
d8d60fa62f
commit
43f91ebf36
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue