diff --git a/misc/cronjobs/thirdparty/TalkingTech_itiva_outbound.pl b/misc/cronjobs/thirdparty/TalkingTech_itiva_outbound.pl index 7ab5de2e1b..d1ff3925fd 100755 --- a/misc/cronjobs/thirdparty/TalkingTech_itiva_outbound.pl +++ b/misc/cronjobs/thirdparty/TalkingTech_itiva_outbound.pl @@ -96,7 +96,7 @@ if ( defined $outfile ) { } else { print "No output file defined; printing to STDOUT\n" if ( defined $verbose ); - open( $OUT, '>', "&STDOUT" ) || die("Couldn't duplicate STDOUT: $!"); + $OUT = *STDOUT || die "Couldn't duplicate STDOUT: $!"; } my $format = 'V'; # format for phone notifications