fixed printf-s

This commit is contained in:
mrfry 2023-04-11 20:37:37 +02:00
parent 08be919c9f
commit 1011c30549
3 changed files with 4 additions and 4 deletions

View file

@ -5,7 +5,7 @@ gitmoduleFile=".gitmodules"
sshGitmodulesFile=".gitmodules.ssh"
httpsGitmodulesFile=".gitmodules.https"
error() { printf "\033[0;41m%s\033[0m" "${1}"; exit 1; }
error() { printf "\033[0;41m%s\033[0m\n" "${1}"; exit 1; }
if [ ! -d "${gitDir}" ]; then
error "${gitDir} does not exist! Maybe you ran this script in the wrong directory"