diff options
author | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-12-05 04:53:13 +0000 |
---|---|---|
committer | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-12-05 04:53:13 +0000 |
commit | 036f60865172bc36e1468afd64d5ac775fa39529 (patch) | |
tree | ff6390d7252a3d6783bf717cf723069f09e1f9a4 /utils/notify_short | |
parent | 9328565f48fb505f789c371433088a46b0e6a693 (diff) |
Converting 2-arg open to 3-arg open
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@720 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'utils/notify_short')
-rw-r--r-- | utils/notify_short/listener.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/notify_short/listener.pl b/utils/notify_short/listener.pl index 37f31d38..a9286795 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 |