X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/4fdeda0e34bf09db359de4174c7a4fe3808d2588..b63f1260eef70cf7eb1703ebae1244db7cef0583:/ikiwiki-mass-rebuild diff --git a/ikiwiki-mass-rebuild b/ikiwiki-mass-rebuild index bbef4946b..06a9b512b 100755 --- a/ikiwiki-mass-rebuild +++ b/ikiwiki-mass-rebuild @@ -20,7 +20,7 @@ sub processline { return; } print "Processing $setup as user ".username()." ...\n"; - my $ret=system("ikiwiki", "-setup", $setup, @ARGV); + my $ret=system("ikiwiki", "--setup", $setup, @ARGV); if ($ret != 0) { print STDERR "warning: processing $setup failed with code $ret\n"; } @@ -29,7 +29,7 @@ sub processline { my %users; sub processuser { my $user=shift; - next if $user=~/^-/ || $users{$user}; + return if $user=~/^-/ || $users{$user}; $users{$user}=1; my $ret=system("su", $user, "-s", "/bin/sh", "-c", "--", "$0 --nonglobal @ARGV"); if ($ret != 0) {