Correct exit condition if sge_flag_pattern s absent

This commit is contained in:
Jeremy Gardais 2020-07-06 16:37:30 +02:00
parent 8e8c60c405
commit d5186390b3
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 2 additions and 2 deletions

View File

@ -423,10 +423,10 @@ main() { # {{{
is_file_present "${file_nologin_path}" \
&& exit 0
## If all SGE queue(s) were manually disabled
## If all SGE queue(s) were manually disabled (not any flag file)
### Exit
is_file_absent "${sge_queue_flag_pattern}" \
|| exit 0
&& exit 0
fi
## Simple debug message with color to valid current variables