aboutsummaryrefslogtreecommitdiff
path: root/contrib/taler-mdb-network-check.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/taler-mdb-network-check.sh')
-rwxr-xr-xcontrib/taler-mdb-network-check.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/taler-mdb-network-check.sh b/contrib/taler-mdb-network-check.sh
index 49d159d..d0a8a11 100755
--- a/contrib/taler-mdb-network-check.sh
+++ b/contrib/taler-mdb-network-check.sh
@@ -63,6 +63,8 @@ while getopts ':c:f:h' OPTION; do
done
shift $((OPTIND - 1))
+WORKER="$@"
+
dig -h > /dev/null || exit_fail "'dig' is required"
if [[ ${FAIL_PROG:-} = "" ]]
@@ -195,7 +197,7 @@ function check_network()
then
echo "Starting child using " $@
# shellcheck disable=SC2068
- $@ &
+ $WORKER &
CHILD_PID=$!
fi
}