exit on failure
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4295 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
bc748d8b41
commit
ea91437063
1 changed files with 1 additions and 0 deletions
|
@ -94,6 +94,7 @@ def log(msg, log_dir = '.'):
|
|||
|
||||
def exit(log_dir = '.'):
|
||||
log('\nerror occurred, exiting', log_dir)
|
||||
sys.exit(3)
|
||||
|
||||
def run(command, log_name, err, wanted_ret = 0, log_dir = '.'):
|
||||
log('running %s' % command, log_dir)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue