diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/blog/2015-12-08-safeguarding-git-repos-against-accidental-rm.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blog/2015-12-08-safeguarding-git-repos-against-accidental-rm.md b/source/blog/2015-12-08-safeguarding-git-repos-against-accidental-rm.md index 8a5f1ae6..697b824e 100644 --- a/source/blog/2015-12-08-safeguarding-git-repos-against-accidental-rm.md +++ b/source/blog/2015-12-08-safeguarding-git-repos-against-accidental-rm.md @@ -31,7 +31,7 @@ rm () { for node; do # -f, --force hasn't been specified && node is a git repo [[ -z $force && -e $node/.git ]] && { - printf "\e[31m'%s' is a git repo -- won't remove without the -f or --force option" $node + printf "\e[31m'%s' is a git repo -- won't remove without the -f or --force option\e[0m\n" $node return 1 } done |