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
df20a54013
commit
62875c30da
1 changed files with 1 additions and 1 deletions
|
@ -592,7 +592,7 @@ ynh_write_var_in_file() {
|
||||||
ynh_handle_getopts_args "$@"
|
ynh_handle_getopts_args "$@"
|
||||||
after="${after:-}"
|
after="${after:-}"
|
||||||
|
|
||||||
[[ -f $file ]] || ynh_die "File $file does not exists"
|
[[ -f $file ]] || ynh_die --message="File $file does not exists"
|
||||||
|
|
||||||
# Get the line number after which we search for the variable
|
# Get the line number after which we search for the variable
|
||||||
local line_number=1
|
local line_number=1
|
||||||
|
|
Loading…
Add table
Reference in a new issue