Skip to content

Commit

Permalink
Provide exit code values in JGDAS_ATMOS_GLDAS
Browse files Browse the repository at this point in the history
- Provide a value of "1" for new exit statements in GLDAS JJOB script.

Refs NOAA-EMC#1014
  • Loading branch information
KateFriedman-NOAA committed Sep 22, 2022
1 parent 2aa8d51 commit 37d869e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jobs/JGDAS_ATMOS_GLDAS
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export outid=${outid:-"LL${job}"}

export DATA=${DATA:-${DATAROOT}/${jobid:?}}
mkdir -p "${DATA}"
cd "${DATA}" || exit
cd "${DATA}" || exit 1


##############################################
Expand Down Expand Up @@ -129,7 +129,7 @@ fi
##########################################
# Remove the Temporary working directory
##########################################
cd "${DATAROOT}" || exit
cd "${DATAROOT}" || exit 1
[[ ${KEEPDATA:?} = "NO" ]] && rm -rf "${DATA}"

exit 0
Expand Down

0 comments on commit 37d869e

Please sign in to comment.