Skip to content

Commit

Permalink
Fix for pdksh
Browse files Browse the repository at this point in the history
  • Loading branch information
ko1nksm committed Feb 18, 2020
1 parent 65b8d7b commit 6028146
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/core/modifiers/result.sh
Expand Up @@ -19,7 +19,9 @@ shellspec_modifier_result() {
else
unset SHELLSPEC_SUBJECT ||:
fi
[ -s "$SHELLSPEC_RESULT_STDERR_FILE" ] && return 1
if [ -s "$SHELLSPEC_RESULT_STDERR_FILE" ]; then
return 1
fi
else
unset SHELLSPEC_SUBJECT ||:
fi
Expand Down

0 comments on commit 6028146

Please sign in to comment.