From 42282c8da757e6778708dac2d5c64f8ec7457577 Mon Sep 17 00:00:00 2001 From: mischa Date: Mon, 22 Aug 2022 18:51:26 +0000 Subject: [PATCH] remove some LF/CR --- VIRTUAL_VACATION/vacation.pl | 5 ----- 1 file changed, 5 deletions(-) diff --git a/VIRTUAL_VACATION/vacation.pl b/VIRTUAL_VACATION/vacation.pl index b2cd53c..7c16022 100755 --- a/VIRTUAL_VACATION/vacation.pl +++ b/VIRTUAL_VACATION/vacation.pl @@ -112,22 +112,17 @@ while (my $line = <>) { dolog($fh, "$sid to: $email, from: $from", $opt_l); $selvacation->bind_param(1, $email); $selvacation->execute; - if ($selvacation->rows == 1) { dolog($fh, "$sid found OOO for $email", $opt_l); my @vacation_msg = $selvacation->fetchrow_array; - $selcache->bind_param(1, $email); $selcache->bind_param(2, $from); $selcache->execute; - if ($selcache->rows == 0) { dolog($fh, "$sid sending OOO to $from", $opt_l); - $upcache->bind_param(1, $from); $upcache->bind_param(2, $email); $upcache->execute; - open my $fh_email, "|-", "/usr/sbin/sendmail -t"; print $fh_email "From: $email\n"; print $fh_email "To: $from\n";;