From: Ian Jackson Date: Sun, 8 Jan 2023 12:01:04 +0000 (+0000) Subject: init script: Print better error message for firewall X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=b370f2b12013189f96d6c7451bd2417120b0bd11;p=hippotat.git init script: Print better error message for firewall Signed-off-by: Ian Jackson --- diff --git a/debian/hippotat-server.hippotatd.init b/debian/hippotat-server.hippotatd.init index 241e2fe..a43ed29 100644 --- a/debian/hippotat-server.hippotatd.init +++ b/debian/hippotat-server.hippotatd.init @@ -62,7 +62,7 @@ check_firewall () { vnetwork=$(print_config vnetwork) if dump_firewall | fgrep " $vnetwork " >/dev/null; then :; else log_failure_msg \ - "no entry in firewall for insecure vnetwork $vnetwork" + "error: no entry in firewall for insecure vnetwork $vnetwork" exit 1 fi }