From fddbc483cdd1c77f8cb73a6f0f112bab6f8fe43b Mon Sep 17 00:00:00 2001 From: Julien Malik Date: Fri, 7 Mar 2014 01:15:09 +0100 Subject: [PATCH] Be less verbose --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 2888336..f2d0fd7 100755 --- a/scripts/install +++ b/scripts/install @@ -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