Fix ssl-opt.sh not starting when lsof is not available

$START_DELAY was used before it was defined.
This commit is contained in:
Gilles Peskine 2018-06-29 15:48:13 +02:00
parent 1ab9b57148
commit a931265509

View File

@ -308,7 +308,7 @@ if type lsof >/dev/null 2>/dev/null; then
done done
} }
else else
echo "Warning: lsof not available, wait_server_start = sleep $START_DELAY" echo "Warning: lsof not available, wait_server_start = sleep"
wait_server_start() { wait_server_start() {
sleep "$START_DELAY" sleep "$START_DELAY"
} }