Squelch 'postscript' warning

This commit is contained in:
Ziemowit Łąski 2023-06-03 07:02:55 +00:00
parent bbed067864
commit 218e1a9974

View file

@ -1217,9 +1217,9 @@ sub main {
sub runpostscript {
my ($ip) = @_;
my @postscript = split(/\s+/, $globals{postscript});
if (defined $globals{postscript}) {
my @postscript = split(/\s+/, $globals{postscript});
if (-x $postscript[0]) {
system("$globals{postscript} $ip &");
} else {