Browse files

don't exit sub via next

  • Loading branch information...
1 parent 5f17d41 commit 35bc56bb664e77f24806895dc2060047f5b08d4c @joeyh committed Aug 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 ikiwiki-mass-rebuild
View
2 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) {

0 comments on commit 35bc56b

Please sign in to comment.