From 7c2edce71dee0db0f2eb701b848b54ae329ecc11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gardais=20J=C3=A9r=C3=A9my?= Date: Fri, 25 Sep 2020 13:42:59 +0200 Subject: [PATCH] If no test succeed, just add content to temp file --- cluster/apt.check.update.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cluster/apt.check.update.sh b/cluster/apt.check.update.sh index bf2afea..5a93b2f 100755 --- a/cluster/apt.check.update.sh +++ b/cluster/apt.check.update.sh @@ -279,12 +279,10 @@ main() { # {{{ && exit 0 ## }}} - ## If APT package upgrade is available {{{ - ### Create a temp file - ### Disable SGE queue + ## After all if APT package upgrade is available {{{ + ### Just add content to a temp file is_apt_upgrade_present \ && touch "${APT_TMP_FILE}" && echo "APT upgrade is available." >> "${APT_TMP_FILE}" \ - && sh "${sge_disable_host_queue_script}" \ && exit 0 ## }}}