aboutsummaryrefslogtreecommitdiffstats
path: root/func/spawn_vm.py
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2016-10-01 10:02:46 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-10-01 10:02:46 +0000
commit16385d37f66e121d0ef045e679ade1fd1aec9afc (patch)
treee385f516b1dbb987bf374742bcedc6c278b0ced2 /func/spawn_vm.py
parent21bac67b3e943616f25209f0ebd6ad23b2403d92 (diff)
parent1e1de5ed4dbbd4a002519fa642bf7f1cc41a825c (diff)
Merge "Non-zero exit status should be used when teminated abnormally"
Diffstat (limited to 'func/spawn_vm.py')
-rw-r--r--func/spawn_vm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/func/spawn_vm.py b/func/spawn_vm.py
index 7ac4340e..b467ab1f 100644
--- a/func/spawn_vm.py
+++ b/func/spawn_vm.py
@@ -69,7 +69,7 @@ class SpawnVM(Env_setup):
mark = exc.problem_mark
print 'Error in qtip/heat/SampleHeat.yaml at: (%s,%s)' % (mark.line + 1, mark.column + 1)
print 'EXITING PROGRAM. Correct File and restart'
- sys.exit(0)
+ sys.exit(1)
fopen = open('./data/QtipKey.pub', 'r')
fopenstr = fopen.read()
fopenstr = fopenstr.rstrip()