X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/4db40b4e59c1e735e4176f3e82b825e895306c4c..c00890a2f033aa36dd5d88f8d3bdd5b7a927a687:/ikiwiki-mass-rebuild diff --git a/ikiwiki-mass-rebuild b/ikiwiki-mass-rebuild index 710db4eac..0057beb4f 100755 --- a/ikiwiki-mass-rebuild +++ b/ikiwiki-mass-rebuild @@ -34,9 +34,10 @@ sub processline { if (! $pid) { my ($uuid, $ugid) = (getpwnam($user))[2, 3]; my $grouplist=join(" ", $ugid, $ugid, supplemental_groups($user)); + undef $!; $)=$grouplist; if ($!) { - die "failed to set egid $grouplist"; + die "failed to set egid $grouplist: $!"; } $(=$ugid; $<=$uuid;