From: Joey Hess Date: Sun, 21 Aug 2011 21:36:29 +0000 (-0400) Subject: don't exit sub via next X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=35bc56bb664e77f24806895dc2060047f5b08d4c;p=ikiwiki.git don't exit sub via next --- diff --git a/ikiwiki-mass-rebuild b/ikiwiki-mass-rebuild index bbef4946b..9b57532bc 100755 --- a/ikiwiki-mass-rebuild +++ b/ikiwiki-mass-rebuild @@ -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) {