[enh] Use --message

Co-authored-by: Kayou <pierre@kayou.io>
This commit is contained in:
ljf (zamentur) 2021-09-08 15:43:15 +02:00 committed by GitHub
parent 8efbc736d4
commit 33505bff5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -112,7 +112,7 @@ _ynh_app_config_apply() {
then
if [[ "$bind" == "settings" ]]
then
ynh_die "File '${short_setting}' can't be stored in settings"
ynh_die --message="File '${short_setting}' can't be stored in settings"
fi
local bind_file="$(echo "$bind" | sed s@__FINALPATH__@$final_path@ | sed s/__APP__/$app/)"
if [[ "${!short_setting}" == "" ]]