From a4183b2fdd19d83c7705c423623c117c4118860f Mon Sep 17 00:00:00 2001 From: tetragon Date: Tue, 5 Dec 2006 04:21:13 +0000 Subject: Converting 2-arg open to 3-arg open git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@719 4979c152-3d1c-0410-bac9-87ea11338e46 --- utils/notify_short/listener.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') diff --git a/utils/notify_short/listener.pl b/utils/notify_short/listener.pl index 37f31d38..dae23d0a 100644 --- a/utils/notify_short/listener.pl +++ b/utils/notify_short/listener.pl @@ -30,7 +30,7 @@ while (1){ # loop infinitely sleep $cycle_delay; } sub on_notify { - open (MAIL, "| $sendmail"); + open (MAIL, "|-", $sendmail); $sth = $dbh->prepare(" SELECT partnumber, description, onhand, rop FROM parts WHERE onhand <= rop -- cgit v1.2.3