Misc tweaks again for msg_{error,warn}.

--HG--
extra : convert_revision : 03960afc7bc1b52309315f55e0548b6a20121df7
This commit is contained in:
Juan RP 2008-10-29 04:54:57 +01:00
parent c1146599ee
commit cfcbec0b91
1 changed files with 4 additions and 4 deletions

View File

@ -166,9 +166,9 @@ msg_error()
set_color red set_color red
set_color bold set_color bold
if [ -n "$in_chroot" ]; then if [ -n "$in_chroot" ]; then
echo -n "[chroot] ERROR: " echo -n "[chroot] => ERROR: "
else else
echo -n "ERROR: " echo -n "=> ERROR: "
fi fi
restore_color restore_color
set_color bold set_color bold
@ -183,9 +183,9 @@ msg_warn()
set_color cyan set_color cyan
set_color bold set_color bold
if [ -n "$in_chroot" ]; then if [ -n "$in_chroot" ]; then
echo -n "[chroot] WARNING: " echo -n "[chroot] => WARNING: "
else else
echo -n "WARNING: " echo -n "=> WARNING: "
fi fi
restore_color restore_color
set_color bold set_color bold