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

remove check not used

This commit is contained in:
yalh76 2019-04-13 15:42:34 +02:00
parent 11cc64c37f
commit c822fc9ffa

View file

@ -39,10 +39,6 @@ SYNCUSER=debian-syncthing
SYNCPORT=22000
GUIPORT=8384
# Check that admin user is an existing account
sudo yunohost user list --json | grep -q "\"username\": \"$admin\"" \
|| (echo "Error: the chosen admin user does not exist" && exit 1)
# Check domain/path availability
sudo yunohost app checkurl $domain$path -a syncthing
if [[ ! $? -eq 0 ]]; then