diff --git a/cli/koolbox b/cli/koolbox index 30996e6710d78e8cb79b9eff32c02c5017da3d02..5c9c161e3f3a6fd51803741cacb8ec7aac9d4732 100755 --- a/cli/koolbox +++ b/cli/koolbox @@ -17,7 +17,7 @@ fi # Using systemd-resolved when available PODMAN_NETWORK_SETTINGS="" -if systemctl is-active systemd-resolved.service > /dev/null 2>&1; then +if systemctl -q is-active systemd-resolved.service; then PODMAN_NETWORK_SETTINGS="--network host --dns 127.0.0.53" fi