mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Comment about why not using ynh_die
This commit is contained in:
parent
be883c3aef
commit
acba1c4bc8
1 changed files with 4 additions and 1 deletions
|
@ -35,7 +35,10 @@ ynh_exit_properly () {
|
|||
ynh_clean_setup # Call the function to do specific cleaning for the app.
|
||||
fi
|
||||
|
||||
exit 1 # Exit with error status
|
||||
# Exit with error status
|
||||
# We don't call ynh_die basically to avoid unecessary 10-ish
|
||||
# debug lines about parsing args and stuff just to exit 1..
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Exits if an error occurs during the execution of the script.
|
||||
|
|
Loading…
Add table
Reference in a new issue