$? has an exitcode of the previous if then fi statement, use exit $ret

This commit is contained in:
Ondřej Surý 2017-04-25 15:12:01 +02:00
parent 8ea8513529
commit 9c7076b579

View File

@ -12990,5 +12990,5 @@ lets_roll() {
#}
#main
exit $?
exit $ret