summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Davis <jrcd83@gmail.com>2012-01-14 22:31:39 +0100
committerJustin Davis <jrcd83@gmail.com>2012-01-14 22:31:39 +0100
commitf4e6d12be63deea86cf0c064362850182f3f1d71 (patch)
tree524f9aa95146b4fcdaba3f5543260d2a4e73b599
parentdc0e1b4ff2ea05385dc7de085fe82dd198370252 (diff)
downloadgenpkg-f4e6d12be63deea86cf0c064362850182f3f1d71.tar.gz
genpkg-f4e6d12be63deea86cf0c064362850182f3f1d71.tar.xz
Explicit return value in templ/perk-pkg.
-rwxr-xr-xlib/templ/perl-pkg3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/templ/perl-pkg b/lib/templ/perl-pkg
index e29ba05..ef112cd 100755
--- a/lib/templ/perl-pkg
+++ b/lib/templ/perl-pkg
@@ -114,7 +114,8 @@ sub main
my $vars = readvars();
mungevars($vars);
printpb($type, $vars);
+ return 0;
}
my $type = shift or die qq{$0: please provide "MM" or "MB" as argument\n};
-main($type);
+exit main($type);