mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[enh] Use --message
Co-authored-by: Kayou <pierre@kayou.io>
This commit is contained in:
parent
85b7239a4b
commit
8efbc736d4
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ EOL
|
||||||
then
|
then
|
||||||
if [[ "$bind" == "settings" ]]
|
if [[ "$bind" == "settings" ]]
|
||||||
then
|
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
|
fi
|
||||||
old[$short_setting]="$(ls "$(echo $bind | sed s@__FINALPATH__@$final_path@ | sed s/__APP__/$app/)" 2> /dev/null || echo YNH_NULL)"
|
old[$short_setting]="$(ls "$(echo $bind | sed s@__FINALPATH__@$final_path@ | sed s/__APP__/$app/)" 2> /dev/null || echo YNH_NULL)"
|
||||||
file_hash[$short_setting]="true"
|
file_hash[$short_setting]="true"
|
||||||
|
|
Loading…
Add table
Reference in a new issue