Misc tweaks again for msg_{error,warn}.
--HG-- extra : convert_revision : 03960afc7bc1b52309315f55e0548b6a20121df7
This commit is contained in:
parent
c1146599ee
commit
cfcbec0b91
1 changed files with 4 additions and 4 deletions
8
xbps.sh
8
xbps.sh
|
@ -166,9 +166,9 @@ msg_error()
|
|||
set_color red
|
||||
set_color bold
|
||||
if [ -n "$in_chroot" ]; then
|
||||
echo -n "[chroot] ERROR: "
|
||||
echo -n "[chroot] => ERROR: "
|
||||
else
|
||||
echo -n "ERROR: "
|
||||
echo -n "=> ERROR: "
|
||||
fi
|
||||
restore_color
|
||||
set_color bold
|
||||
|
@ -183,9 +183,9 @@ msg_warn()
|
|||
set_color cyan
|
||||
set_color bold
|
||||
if [ -n "$in_chroot" ]; then
|
||||
echo -n "[chroot] WARNING: "
|
||||
echo -n "[chroot] => WARNING: "
|
||||
else
|
||||
echo -n "WARNING: "
|
||||
echo -n "=> WARNING: "
|
||||
fi
|
||||
restore_color
|
||||
set_color bold
|
||||
|
|
Loading…
Reference in a new issue