mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #1469 from YunoHost/fix-ynh_user_exists
Escape username for ynh_user_exists
This commit is contained in:
commit
98cfd0909b
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ ynh_user_exists() {
|
||||||
# Manage arguments with getopts
|
# Manage arguments with getopts
|
||||||
ynh_handle_getopts_args "$@"
|
ynh_handle_getopts_args "$@"
|
||||||
|
|
||||||
yunohost user list --output-as json --quiet | jq -e ".users.${username}" >/dev/null
|
yunohost user list --output-as json --quiet | jq -e ".users.\"${username}\"" >/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
# Retrieve a YunoHost user information
|
# Retrieve a YunoHost user information
|
||||||
|
|
Loading…
Add table
Reference in a new issue