Opps that one's not negated

master
Keith Irwin 2022-09-15 16:18:31 -06:00
parent 40e4dc9d51
commit 9ab1ad5f49
Signed by: ki9
GPG Key ID: DF773B3F4A88DA86
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@
# 18: rDNS failed
CONFIG_FILE='/etc/wgapi/config'
if ! [ ${#} -eq 1 ] || [ ${#} -eq 2 ]; then
if [ ${#} -eq 1 ] || [ ${#} -eq 2 ]; then
printf 'ERROR! Bad input: %s %s\n' "${0}" "${*}" >>"${LOGFILE}"
exit 3
fi & if ! [ -x '/usr/bin/wg' ]; then