aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-08-21 17:36:29 -0400
committerJoey Hess <joey@kitenet.net>2011-08-21 17:36:29 -0400
commit35bc56bb664e77f24806895dc2060047f5b08d4c (patch)
treefb76c72a6ee9ac2d60eb17371cac5c6ae700a70a
parent5f17d41b3b05ed271814427503b85100ef49bee0 (diff)
downloadikiwiki-35bc56bb664e77f24806895dc2060047f5b08d4c.tar
ikiwiki-35bc56bb664e77f24806895dc2060047f5b08d4c.tar.gz
don't exit sub via next
-rwxr-xr-xikiwiki-mass-rebuild2
1 files changed, 1 insertions, 1 deletions
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) {