--- /usr/pkg/bin/pkg_notify 2009-01-19 21:13:17.000000000 +0100 +++ /Users/seb/tmp/pkg_notify 2009-01-19 21:22:20.000000000 +0100 @@ -21,6 +21,7 @@ use Net::FTP; use LWP::UserAgent; use HTTP::Request::Common; +use Getopt::Std; use strict; @@ -446,6 +447,9 @@ my @packages; +my %opts; +exit(2) if !getopts('c:', \%opts); +$conf = $opts{c} if defined($opts{c}); if ($#ARGV > -1) { @packages = @ARGV; } else {