mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Use one file for all user related helpers.
This commit is contained in:
parent
42fa6a3c32
commit
441b89f048
1 changed files with 2 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
|
||||
# Check if a user exists
|
||||
ynh_user_exists() {
|
||||
sudo yunohost user list --json | grep -q "\"username\": \"${1}\""
|
||||
}
|
Loading…
Add table
Reference in a new issue