Tried to fix POST

master
Keith Irwin 2022-09-08 14:44:55 -06:00
parent 743fb7a468
commit cf84ef4504
Signed by: ki9
GPG Key ID: DF773B3F4A88DA86
1 changed files with 1 additions and 1 deletions

View File

@ -20,9 +20,9 @@ CONFIG_FILE='/etc/wgapi/config'
SERVERS_FILE='/etc/wgapi/servers'
[ ${#} -eq 2 ] || exit 3
[ -f "${CONFIG_FILE}" ] || exit 4
[ -f "${TOKENS_FILE}" ] || exit 9
[ -f "${SERVERS_FILE}" ] || exit 12
source "${CONFIG_FILE}"
[ -f "${TOKENS_FILE}" ] || exit 9
ip="${1}"
# Check hostname