Skip to content

Commit

Permalink
Failed branch never reached due to set -e
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter9192 authored and ClaireDons committed May 29, 2024
1 parent 2009a41 commit c3da4cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wrf-runner/wrf_runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ $WRF_HOME/run/real.exe
$WRF_HOME/run/wrf.exe

# Report status
status=$? && [ $status -eq 0 ] && echo "Run successful" || echo "Run failed"
status=$? && [ $status -eq 0 ] && echo "Run successful"

0 comments on commit c3da4cf

Please sign in to comment.