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
a7c5a696
Commit
a7c5a696
authored
Apr 16, 2003
by
Leigh B. Stoller
Browse files
Minor fix for dealing with batching experiments in subgroups.
parent
0dc8f414
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/batch_daemon.in
View file @
a7c5a696
...
...
@@ -242,7 +242,7 @@ sub dosomething($$)
{
my
(
$dowhat
)
=
shift
;
my
(
%exphash
)
=
@_
;
my
(
$unix_uid
,
$unix_gid
,
$row
,
$query_result
);
my
(
$unix_uid
,
$unix_gid
,
$unix_gname
,
$row
,
$query_result
);
# Global vars
$eid
=
$exphash
{'
eid
'};
...
...
@@ -307,8 +307,8 @@ sub dosomething($$)
#
(
undef
,
undef
,
$unix_uid
)
=
getpwnam
(
$creator
)
or
fatal
("
No such user
$creator
");
(
undef
,
undef
,
$unix_gid
)
=
getgrnam
(
$gid
)
or
fatal
("
No such group
$gid
");
TBGroupUnixInfo
(
$pid
,
$gid
,
\
$unix_gid
,
\
$unix_gname
)
or
fatal
("
No such group
$pid
/
$gid
");
#
# Change the ownership of the log file before we flip.
...
...
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