If no test succeed, just add content to temp file

This commit is contained in:
Jeremy Gardais 2020-09-25 13:42:59 +02:00
parent fed34bae66
commit 7c2edce71d
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 2 additions and 4 deletions

View File

@ -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
## }}}