From 80fc3062f3d0c980b99b1a457140476567ef6957 Mon Sep 17 00:00:00 2001 From: Raphael Hertzog Date: Wed, 12 Mar 2008 10:32:20 +0100 Subject: [PATCH] * scripts/Dpkg/Source/Patch.pm: Bugfix: use return instead of next in function. --- scripts/Dpkg/Source/Patch.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Dpkg/Source/Patch.pm b/scripts/Dpkg/Source/Patch.pm index b272124f..2135be0d 100644 --- a/scripts/Dpkg/Source/Patch.pm +++ b/scripts/Dpkg/Source/Patch.pm @@ -140,7 +140,7 @@ sub add_diff_directory { my %files_in_new; my $scan_new = sub { my $fn = File::Spec->abs2rel($_, $new); - next if &$diff_ignore($fn); + return if &$diff_ignore($fn); $files_in_new{$fn} = 1; lstat("$new/$fn") || syserr(_g("cannot stat file %s"), "$new/$fn"); my $mode = S_IMODE((lstat(_))[2]); -- 2.39.5