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
85276ba6
Commit
85276ba6
authored
Apr 17, 2014
by
Mike Hibler
Browse files
Eliminate some more undefined var refs.
parent
8786e7e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/console_setup.proxy.in
View file @
85276ba6
#!/usr/bin/perl -wT
#
# Copyright (c) 2000-20
02, 200
4 University of Utah and the Flux Group.
# Copyright (c) 2000-20
1
4 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
...
...
@@ -165,6 +165,12 @@ foreach my $tipname ( keys %tipgroup ) {
# set its mode too.
#
$gid
=
getgrnam
(
$grp
);
if
(
!
defined
(
$gid
))
{
print
STDERR
"
*** Group '
$grp
' does not exist,
"
.
"
console for
$tipname
will not be available
\n
";
$grp
=
"
wheel
";
$gid
=
0
;
}
chown
(
0
,
$gid
,
$filename
)
or
die
("
Could not chown(0,
$gid
)
$filename
: $!
");
chmod
(
0640
,
$filename
)
or
...
...
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