check_dyndns.sh: add support for debian 11.

This commit is contained in:
Christoph 2021-08-29 15:03:42 +02:00
parent dd0ba5a377
commit e079ff5c30

View File

@ -150,7 +150,7 @@ else
# - Load defaults
source /etc/default/ddclient
if [ "$run_daemon" = "true" ]; then
if $(ps -e f | grep -E "[[:digit:]]\ .*ddclient" | grep -q -v grep) || [[ "$run_daemon" = "true" ]]; then
if $LOGGING ; then
info "'ddclient' is configured to run as daemon. So nothing to do here."
fi