Skip to content

Commit

Permalink
Resolve shellcheck warning
Browse files Browse the repository at this point in the history
Refs #2064
  • Loading branch information
KateFriedman-NOAA committed Nov 15, 2023
1 parent 5744107 commit b1bde57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/exgdas_enkf_earc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ if [ "${ENSGRP}" -eq 0 ]; then
tar_fl=${ATARDIR}/${PDY}${cyc}/${RUN}.tar
${TARCMD} -P -cvf "${tar_fl}" $(cat "${DATA}/${RUN}.txt")
status=$?
if [ "${status}" -ne 0 ]; then
if [[ "${status}" -ne 0 ]]; then
echo "FATAL ERROR: Tarring of ${tar_fl} failed"
exit "${status}"
fi
Expand Down

0 comments on commit b1bde57

Please sign in to comment.