Skip to content

Commit 50e5a55

Browse files
committed
Minor adjustment to allow for check_singularity_sif_support to run before gwms has determined which singularity to use
1 parent 72f0fbc commit 50e5a55

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

node-check/itb-ospool-lib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ function check_singularity_sif_support {
117117
local singularity_path=$(get_glidein_config_value GWMS_SINGULARITY_PATH)
118118

119119
# allow this to run before gwms has determined which singularity to use
120-
if [[ $has_singularity = "" && $singularity_path = "" ]]; then
120+
if [[ $has_singularity = "" ]]; then
121121
has_singularity="True"
122122
singularity_path=singularity
123123
fi

node-check/ospool-lib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ function check_singularity_sif_support {
117117
local singularity_path=$(get_glidein_config_value GWMS_SINGULARITY_PATH)
118118

119119
# allow this to run before gwms has determined which singularity to use
120-
if [[ $has_singularity = "" && $singularity_path = "" ]]; then
120+
if [[ $has_singularity = "" ]]; then
121121
has_singularity="True"
122122
singularity_path=singularity
123123
fi

0 commit comments

Comments
 (0)