1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mumbleserver_ynh.git synced 2024-09-03 19:46:03 +02:00

fix a bad variable name

This commit is contained in:
matlink 2014-11-10 19:44:39 +01:00
parent c780998e9a
commit ccbdd4ab36

View file

@ -13,7 +13,7 @@ registerName=$6
mumble_conf=/etc/mumble-server.ini mumble_conf=/etc/mumble-server.ini
# Check user # Check user
sudo yunohost user list --json | grep -q "\"username\": \"$user\"" sudo yunohost user list --json | grep -q "\"username\": \"$admin\""
if [[ ! $? -eq 0 ]]; then if [[ ! $? -eq 0 ]]; then
echo "Wrong user" echo "Wrong user"
exit 1 exit 1