Skip to content
GitLab
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
9fdf7a43
Commit
9fdf7a43
authored
Nov 12, 2014
by
Leigh B Stoller
Browse files
Minor fix to previous revision.
parent
2a09101d
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/aptui/dataset.ajax
View file @
9fdf7a43
...
...
@@ -234,13 +234,14 @@ function Do_ApproveDataset()
#
$retval
=
SUEXEC
(
$this_uid
,
$lease
->
pid
(),
"webapprovelease "
.
$lease
->
pid
()
.
"/"
.
$lease
->
lease_id
(),
$lease
->
pid
()
.
"/"
.
$lease
->
gid
()
.
"/"
.
$lease
->
lease_id
(),
SUEXEC_ACTION_CONTINUE
);
if
(
$retval
!=
0
)
{
$error
=
"Transient error; please try again later"
;
if
(
$retval
&&
count
(
$suexec_output_array
))
{
$error
=
$suexec_output
_array
[
0
]
;
$error
=
$suexec_output
;
}
SPITAJAX_ERROR
(
1
,
$error
);
return
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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