Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
b71908f3
Commit
b71908f3
authored
Jun 11, 2003
by
Mac Newbold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
If we're doing a forceswap or an idleswap (admin only options), pass -force to tbswap.
parent
c9d5cd3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tbsetup/swapexp.in
tbsetup/swapexp.in
+2
-1
No files found.
tbsetup/swapexp.in
View file @
b71908f3
...
...
@@ -411,8 +411,9 @@ if ($inout ne "restart" && -e $repfile) {
# Sanity check states in case someone changes something.
#
if
(
$inout
eq
"
out
")
{
if
(
$force
||
$idleswap
)
{
$arg
=
"
-force
";
}
else
{
$arg
=
"";
}
print
STDOUT
"
Running 'tbswap out' with arguments:
$pid
$eid
\n
";
if
(
system
("
$tbdir
/tbswap out
$pid
$eid
")
!=
0
)
{
if
(
system
("
$tbdir
/tbswap out
$
arg
$
pid
$eid
")
!=
0
)
{
$errorstat
=
$?
>>
8
;
fatal
("
tbswap out failed!
\n
");
}
...
...
Write
Preview
Markdown
is supported
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