mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
We don't need those color codes... and warnings are already warnings...
This commit is contained in:
parent
bdbf1822c7
commit
2a631fa23d
1 changed files with 3 additions and 3 deletions
|
@ -80,7 +80,7 @@ ynh_print_warn () {
|
||||||
# Manage arguments with getopts
|
# Manage arguments with getopts
|
||||||
ynh_handle_getopts_args "$@"
|
ynh_handle_getopts_args "$@"
|
||||||
|
|
||||||
ynh_print_log "\e[93m\e[1m[WARN]\e[0m ${message}" >&2
|
ynh_print_log "${message}" >&2
|
||||||
}
|
}
|
||||||
|
|
||||||
# Print an error on stderr
|
# Print an error on stderr
|
||||||
|
@ -97,7 +97,7 @@ ynh_print_err () {
|
||||||
# Manage arguments with getopts
|
# Manage arguments with getopts
|
||||||
ynh_handle_getopts_args "$@"
|
ynh_handle_getopts_args "$@"
|
||||||
|
|
||||||
ynh_print_log "\e[91m\e[1m[ERR]\e[0m ${message}" >&2
|
ynh_print_log "[Error] ${message}" >&2
|
||||||
}
|
}
|
||||||
|
|
||||||
# Execute a command and print the result as an error
|
# Execute a command and print the result as an error
|
||||||
|
@ -332,7 +332,7 @@ ynh_debug () {
|
||||||
|
|
||||||
if [ -n "$message" ]
|
if [ -n "$message" ]
|
||||||
then
|
then
|
||||||
ynh_print_log "\e[34m\e[1m[DEBUG]\e[0m ${message}" >&2
|
ynh_print_log "[Debug] ${message}" >&2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$trace" == "1" ]
|
if [ "$trace" == "1" ]
|
||||||
|
|
Loading…
Add table
Reference in a new issue