From af640e2c7b67b315c806e84850bc742aacd9ce8a Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 29 Jun 2023 13:54:21 +0300 Subject: [PATCH] minor fixes... Signed-off-by: Alex A. Naanou --- check-status | 4 ++++ pct-mclone | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/check-status b/check-status index 3863bd9..9f836b1 100644 --- a/check-status +++ b/check-status @@ -47,6 +47,10 @@ for site in ${SITES[@]} ; do site=${res[1]/URL=/} res=${res[2]/RESPONSE=/} + if [ -z $res ] ; then + res='Timeout?' + fi + ! [ -z $comment ] \ && comment="$comment " diff --git a/pct-mclone b/pct-mclone index 711d931..0050838 100644 --- a/pct-mclone +++ b/pct-mclone @@ -80,7 +80,6 @@ done # clone... @ pct clone ${id} ${to} --hostname ${host} @ pct set ${to} -onboot 0 -@ ./make-shares # startup if we stopped... @@ -98,6 +97,8 @@ if ! [ -z $tpl ] ; then @ pct template ${tpl} fi +#---------------------------------------------------------------------- + @ ./make-shares