Skip to content

Commit 865a53d

Browse files
Correct GEMPAK_CLEANUP check
1 parent 246487c commit 865a53d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dev/parm/config/gfs/config.cleanup

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ if [[ ${SELECTIVE_CLEANUP_MIN} -gt ${SELECTIVE_CLEANUP_MAX} ]]; then
2929
fi
3030

3131
# GEMPAK_CLEANUP must not be less than SELECTIVE_CLEANUP_MIN, which acts as the starting point for cleanup
32-
if [[ "${DO_GEMPAK}" == "YES" && ${GEMPAK_CLEANUP} -lt ${GEMPAK_CLEANUP} ]]; then
32+
if [[ "${DO_GEMPAK}" == "YES" && ${GEMPAK_CLEANUP} -lt ${SELECTIVE_CLEANUP_MIN} ]]; then
3333
echo "FATAL ERROR: Invalid GEMPAK cleanup time: "
3434
echo " GEMPAK_CLEANUP=${GEMPAK_CLEANUP} < SELECTIVE_CLEANUP_MIN=${SELECTIVE_CLEANUP_MIN}"
3535
exit 2

0 commit comments

Comments
 (0)