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:
parent
c780998e9a
commit
ccbdd4ab36
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue