Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
823df4fe
Commit
823df4fe
authored
Sep 11, 2007
by
Leigh B. Stoller
Browse files
Check exit status of archive_control so that a failed archive
operation aborts the stoprun.
parent
b87d7501
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/template_exprun.in
View file @
823df4fe
...
...
@@ -514,7 +514,9 @@ if (defined($instance->runidx())) {
$instance
->
Stamp
("
template_exprun
",
"
commit starting
");
}
system
("
$archcontrol
-d -t stoprun_
${this_runid}
"
.
"
-c 'Stopping Run
$this_runid
' commit
$pid
$eid
");
"
-c 'Stopping Run
$this_runid
' commit
$pid
$eid
")
==
0
or
fatal
(
-
1
,
"
Aborting the stoprun cause the commit failed
");
if
(
$STAMPS
)
{
$instance
->
Stamp
("
template_exprun
",
"
commit done
");
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment