If no test succeed, just add content to temp file
This commit is contained in:
parent
fed34bae66
commit
7c2edce71d
|
@ -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
|
||||
## }}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue