]> sipb.mit.edu Git - ikiwiki.git/blobdiff - ikiwiki-mass-rebuild
first pass at doing xapian indexing
[ikiwiki.git] / ikiwiki-mass-rebuild
index 710db4eacffc22baa6e68f7dcf6a9a230b1d8907..b40eb0b3b435b95da7d6675904da3e2804684431 100755 (executable)
@@ -34,9 +34,8 @@ sub processline {
        if (! $pid) {
                my ($uuid, $ugid) = (getpwnam($user))[2, 3];
                my $grouplist=join(" ", $ugid, $ugid, supplemental_groups($user));
-               $)=$grouplist;
-               if ($!) {
-                       die "failed to set egid $grouplist";
+               if (($)=$grouplist) ne $grouplist) {
+                       die "failed to set egid $grouplist: $!";
                }
                $(=$ugid;
                $<=$uuid;