Fix nmvn always displaying success, even if mvn fails.

Test [ 0 ] and [ 1 ] both return true. Needs an actual condition to detect failed mvn exit.