Skip to content

Commit

Permalink
fix: return erroring exit codes with the set exit value
Browse files Browse the repository at this point in the history
  • Loading branch information
zimeg committed Sep 12, 2024
1 parent e823c7a commit 51e17f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ unset val &> /dev/null # fixes issue #1

if [[ -n $wd_debug_mode ]]
then
exit $WD_EXIT_CODE
else
unset wd_debug_mode
fi

return $WD_EXIT_CODE

0 comments on commit 51e17f0

Please sign in to comment.