From c029637c1acaadc7346dc5704618fd5eac728eb7 Mon Sep 17 00:00:00 2001 From: arjan Date: Tue, 23 Oct 2018 03:25:44 +0200 Subject: [PATCH] Added /data/custom/customlib_honeypot to newsletter-transport.pl --- sbin/newsletter-transport.pl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sbin/newsletter-transport.pl b/sbin/newsletter-transport.pl index de9babe..8f06b56 100755 --- a/sbin/newsletter-transport.pl +++ b/sbin/newsletter-transport.pl @@ -4,6 +4,7 @@ BEGIN { unshift @INC, qw( /data/custom/webgui_newsletter/lib /data/WebGUI/lib + /data/custom/customlib_honeypot ); } @@ -17,9 +18,9 @@ use WebGUI::Config; use Getopt::Long; use Readonly; -Readonly my $WRONG_USAGE => 64; -Readonly my $DATA_ERROR => 65; -Readonly my $NO_SUCH_USER => 67; +Readonly my $WRONG_USAGE => 64; +Readonly my $DATA_ERROR => 65; +Readonly my $NO_SUCH_USER => 67; Readonly my $UNKNOWN_HOST => 68; Readonly my $CONFIG_ERROR => 78; @@ -42,7 +43,7 @@ my $webguiRoot = '/data/WebGUI'; closeSession( $session ); } else { - warn "Not a valid command [$command]."; + warn "Not a valid command [$command]."; exit( $NO_SUCH_USER ); #die "Not a valid command [$command]."; } @@ -99,4 +100,3 @@ sub closeSession { $session->close; } -