mirror of
https://github.com/YunoHost-Apps/jirafeau_ynh.git
synced 2024-09-03 19:35:53 +02:00
Be less verbose
This commit is contained in:
parent
7faecf9ce1
commit
fddbc483cd
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@ if [[ ! $? -eq 0 ]]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# Chack that admin user is an existing account
|
||||
sudo yunohost user list | python ../conf/user_list.py | grep "^$admin_user$"
|
||||
# Check that admin user is an existing account
|
||||
sudo yunohost user list | python ../conf/user_list.py | grep "^$admin_user$" >/dev/null
|
||||
if [[ ! $? -eq 0 ]]; then
|
||||
echo "Error : the chosen admin user does not exist"
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue