mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Restore usage of ynh_print_err
This commit is contained in:
parent
e454100276
commit
a4f3248545
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ ynh_exit_properly () {
|
|||
trap '' EXIT # Ignore new exit signals
|
||||
set +eu # Do not exit anymore if a command fail or if a variable is empty
|
||||
|
||||
echo -e "!!\n $app's script has encountered an error. Its execution was cancelled.\n!!" >&2
|
||||
ynh_print_err --message="!!\n $app's script has encountered an error. Its execution was cancelled.\n!!"
|
||||
|
||||
# If the script is executed from a terminal, dump the end of the log that precedes the crash.
|
||||
if ynh_is_term
|
||||
|
|
Loading…
Add table
Reference in a new issue