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
3d4223d5
Commit
3d4223d5
authored
Nov 12, 2010
by
Mike Hibler
Browse files
Get rid of an undefined variable ref.
Nit. Noticed this is root's mailbox.
parent
849cb0df
Changes
1
Hide whitespace changes
Inline
Side-by-side
db/idlemail.in
View file @
3d4223d5
...
...
@@ -2,7 +2,7 @@
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-200
7
University of Utah and the Flux Group.
# Copyright (c) 2000-20
1
0 University of Utah and the Flux Group.
# All rights reserved.
#
...
...
@@ -165,7 +165,7 @@ EOT
$time
=
$r
{'
idle_time
'};
$lastact
=
$r
{'
lastact
'};
$staleness
=
$r
{'
staleness
'};
if
(
$staleness
>=
600
)
{
# 10 minute stale limit
if
(
!
defined
(
$staleness
)
||
$staleness
>=
600
)
{
# 10 minute stale limit
$stale
=
1
;
}
...
...
@@ -283,7 +283,7 @@ EOT
$time
=
$r
{'
idle_time
'};
$lastact
=
$r
{'
lastact
'};
$staleness
=
$r
{'
staleness
'};
if
(
$staleness
>=
600
)
{
# 10 minute stale limit
if
(
!
defined
(
$staleness
)
||
$staleness
>=
600
)
{
# 10 minute stale limit
$stale
=
1
;
}
SendMessage
(
$pid
,
$pid
,
$eid
,
1
,
0
,
$nodes
,
$time
,
$lastact
,
$stale
,
...
...
@@ -363,7 +363,7 @@ EOT
$time
=
$r
{'
idle_time
'};
$lastact
=
$r
{'
lastact
'};
$staleness
=
$r
{'
staleness
'};
if
(
$staleness
>=
600
)
{
# 10 minute stale limit
if
(
!
defined
(
$staleness
)
||
$staleness
>=
600
)
{
# 10 minute stale limit
$stale
=
1
;
}
...
...
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