* return the right error code

* print error message when something goes wrong with nsis installer creation
This commit is contained in:
Nathan Letwory 2008-10-02 08:46:04 +00:00
parent f66ae0daca
commit 7ba46c70ad

@ -531,5 +531,8 @@ def NSIS_Installer(target=None, source=None, env=None):
data, err = proc.communicate()
rv = proc.wait()
return err
if rv != 0:
print
print data.strip().split("\n")[-1]
return rv