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
e602d081
Commit
e602d081
authored
Dec 17, 2013
by
Leigh B Stoller
Browse files
Minor bug fix.
parent
8468dbb7
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/nodetipacl.php3
View file @
e602d081
...
...
@@ -159,13 +159,13 @@ function ConsoleAuthObject($uid, $nodeid, $console)
#
$fp
=
fopen
(
$file
,
"r"
);
if
(
!
$fp
)
{
TBERROR
(
"Error opening
$file
"
,
0
);
TBERROR
(
"Error opening
$file
"
,
1
);
return
null
;
}
$key
=
fread
(
$fp
,
128
);
fclose
(
$fp
);
if
(
!
$key
)
{
TBERROR
(
"Could not get key from
$file
"
,
0
);
TBERROR
(
"Could not get key from
$file
"
,
1
);
return
null
;
}
$key
=
chop
(
$key
);
...
...
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