Commit a7c5a696 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Minor fix for dealing with batching experiments in subgroups.

parent 0dc8f414
...@@ -242,7 +242,7 @@ sub dosomething($$) ...@@ -242,7 +242,7 @@ sub dosomething($$)
{ {
my($dowhat) = shift; my($dowhat) = shift;
my(%exphash) = @_; my(%exphash) = @_;
my($unix_uid, $unix_gid, $row, $query_result); my($unix_uid, $unix_gid, $unix_gname, $row, $query_result);
# Global vars # Global vars
$eid = $exphash{'eid'}; $eid = $exphash{'eid'};
...@@ -307,8 +307,8 @@ sub dosomething($$) ...@@ -307,8 +307,8 @@ sub dosomething($$)
# #
(undef,undef,$unix_uid) = getpwnam($creator) or (undef,undef,$unix_uid) = getpwnam($creator) or
fatal("No such user $creator"); fatal("No such user $creator");
(undef,undef,$unix_gid) = getgrnam($gid) or TBGroupUnixInfo($pid, $gid, \$unix_gid, \$unix_gname) or
fatal("No such group $gid"); fatal("No such group $pid/$gid");
# #
# Change the ownership of the log file before we flip. # Change the ownership of the log file before we flip.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment