Permalink
Browse files

actually return correctly from APRON_replay as per the doc

  • Loading branch information...
1 parent 2cdf142 commit c7a37b4deef0f9a73feabb018e3b39e870b952c9 @falconindy committed Dec 27, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 apron
View
@@ -215,6 +215,7 @@ APRON_replay() {
"$@"
_APRON_verify_expectations "$expectations_file"
+ local r=$?
# cleanup/reset
exec {APRON_expect_fd}>&-
@@ -224,6 +225,8 @@ APRON_replay() {
# XXX: wat. why isn't it sufficient to just redeclare?
unset APRON_expectations
declare -Ag APRON_expectations=()
+
+ return $r
}
#

0 comments on commit c7a37b4

Please sign in to comment.