Opps that one's not negated
parent
40e4dc9d51
commit
9ab1ad5f49
|
@ -15,7 +15,7 @@
|
||||||
# 18: rDNS failed
|
# 18: rDNS failed
|
||||||
|
|
||||||
CONFIG_FILE='/etc/wgapi/config'
|
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}"
|
printf 'ERROR! Bad input: %s %s\n' "${0}" "${*}" >>"${LOGFILE}"
|
||||||
exit 3
|
exit 3
|
||||||
fi & if ! [ -x '/usr/bin/wg' ]; then
|
fi & if ! [ -x '/usr/bin/wg' ]; then
|
||||||
|
|
Loading…
Reference in New Issue