Comment about why not using ynh_die

This commit is contained in:
Alexandre Aubin 2020-05-02 02:13:09 +02:00 committed by GitHub
parent be883c3aef
commit acba1c4bc8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.