Unset POWERLINE_SUITE_FINAL if exit_suite is continuing

This commit is contained in:
Foo 2018-02-25 22:35:11 +03:00
parent 2fc0e8e520
commit d27961f0b0
1 changed files with 2 additions and 0 deletions

View File

@ -83,6 +83,8 @@ exit_suite() {
export POWERLINE_CURRENT_SUITE="${POWERLINE_CURRENT_SUITE%/*}"
if test "$1" != "--continue" ; then
exit $FAILED
else
unset POWERLINE_SUITE_FINAL
fi
}