aboutsummaryrefslogtreecommitdiff
path: root/source/blog
diff options
context:
space:
mode:
Diffstat (limited to 'source/blog')
-rw-r--r--source/blog/2015-12-08-safeguarding-git-repos-against-accidental-rm.md2
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