[fix] typo

This commit is contained in:
Alexis Gavoty 2014-05-29 12:01:29 +02:00
parent 5a3a5cd23c
commit a3f5ecbf35

View file

@ -14,7 +14,7 @@ if [[ ! $? -eq 0 ]]; then
fi
# Check user
sudo yunohost user list --json | grep -q '"username": "$user"'
sudo yunohost user list --json | grep -q "\"username\": \"$user\""
if [[ ! $? -eq 0 ]]; then
echo "Wrong user"
exit 1