aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/debmaker.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/debmaker.pl b/scripts/debmaker.pl
index 9902ae8..44c57b4 100755
--- a/scripts/debmaker.pl
+++ b/scripts/debmaker.pl
@@ -405,7 +405,8 @@ sub get_pkg_section {
} elsif ($pkgname =~ m,^pkg:/([^/]+)/.*,) {
return $1;
} else {
- fatal "Can't get section for package `$pkgname'"
+ warning "Can't get section for package `$pkgname'";
+ return 0;
}
}