Correct exit condition if sge_flag_pattern s absent
This commit is contained in:
parent
8e8c60c405
commit
d5186390b3
|
@ -423,10 +423,10 @@ main() { # {{{
|
||||||
is_file_present "${file_nologin_path}" \
|
is_file_present "${file_nologin_path}" \
|
||||||
&& exit 0
|
&& exit 0
|
||||||
|
|
||||||
## If all SGE queue(s) were manually disabled
|
## If all SGE queue(s) were manually disabled (not any flag file)
|
||||||
### Exit
|
### Exit
|
||||||
is_file_absent "${sge_queue_flag_pattern}" \
|
is_file_absent "${sge_queue_flag_pattern}" \
|
||||||
|| exit 0
|
&& exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## Simple debug message with color to valid current variables
|
## Simple debug message with color to valid current variables
|
||||||
|
|
Loading…
Reference in New Issue