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:
commit
590d09db82
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ user=$3
|
||||||
is_public=$4
|
is_public=$4
|
||||||
|
|
||||||
# Check user parameter
|
# 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
|
if [[ ! $? -eq 0 ]]; then
|
||||||
echo "Wrong user"
|
echo "Wrong user"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue