From f0464983210e00edb4ec4d1f294d428f7e46bc95 Mon Sep 17 00:00:00 2001 From: Fred Date: Mon, 31 Jan 2022 10:29:02 +0000 Subject: [PATCH] Update squid/run.sh --- squid/run.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/squid/run.sh b/squid/run.sh index 30b5142..46413a7 100644 --- a/squid/run.sh +++ b/squid/run.sh @@ -25,7 +25,13 @@ done # check sup once before starting # if env sup - +/run.sh +case $? in + 1) exit 1;; + 2) exit 1;; + *) echo -e "Sup ok or no sup";; +esac +shift # Run sup: IN BACKGROUND /squid/sup.sh &