HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] Missing failure notification.



Jean-Pierre Radley wrote:

Lee Howard typed (on Tue, Dec 19, 2006 at 09:53:41AM -0800):
| Jean-Pierre Radley wrote:
| | >A mysterious error, since the shell grammar sure looks OK to me:
| >
| > jpradley:boss 392% bin/notify 'doneq/q1233' 'failed' '1:15'
| > bin/notify: syntax error at line 617: `done' unexpected
| | Ah, well, done is a keyword in sh, and so I can conceivably understand | why this...
| | case "$WHY" in
| done)
| notify_mail "$jobtag $DICTTO $DESTINATION $DICTCOMPLETED" | "$mailaddr";;
| failed)
| | ... could be a problem. If you're into investigating this, put | double-quotes around that "done" and see how it goes with sh once again.



Yes, using
"done")
works under /bin/sh.



Thank you for testing this. I've made that change as well to the repository, and it will be this way in the next release.


Thanks,

Lee.

____________________ HylaFAX(tm) Users Mailing List _______________________
 To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
 *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions