some improvements

This commit is contained in:
Fliegerjohn 2023-08-22 20:27:01 +02:00
parent 1c151d9702
commit 22a6a545fa

View file

@ -66,8 +66,8 @@ testwithping() {
#
# Set $curlbin and $pingbin to "0" when not installed (workaround for sh)
if [[ $curlbin = "" ]]; then curlbin=0; fi
if [[ $pingbin = "" ]]; then pingbin=0; fi
if [[ ! $curlbin ]]; then curlbin=0; fi
if [[ ! $pingbin ]]; then pingbin=0; fi
# Check network
if [[ -x ${curlbin} ]]; then