1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/piwigo_ynh.git synced 2024-09-03 20:06:03 +02:00

Merge branch 'master' of https://github.com/monsieur-a/piwigo_ynh into patch-1

This commit is contained in:
Développeur égaré 2015-02-17 09:51:00 +01:00
commit 590d09db82

View file

@ -7,7 +7,7 @@ user=$3
is_public=$4
# Check user parameter
sudo yunohost user list --json | grep -q "\"username\": \"$user\""
sudo yunohost user list --json | grep -qi "\"username\": \"$user\""
if [[ ! $? -eq 0 ]]; then
echo "Wrong user"
exit 1