1
0
Fork 0
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:
Julien Malik 2014-03-07 01:15:09 +01:00
parent 7faecf9ce1
commit fddbc483cd

View file

@ -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