Misc tweaks again for msg_{error,warn}.
--HG-- extra : convert_revision : 03960afc7bc1b52309315f55e0548b6a20121df7
This commit is contained in:
parent
c1146599ee
commit
cfcbec0b91
8
xbps.sh
8
xbps.sh
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue