Re: External action = Broken pipe
Tiger!P <[email protected]> Thu, 1 Feb 2007 17:36:17 +0100
| Newsgroups | gmane.network.centericq |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Feb 01, 2007 at 10:59:45AM +0000, Michael wrote: > Hi, Hello, > Using centericq version 4.20.0 (not the latest one, but still) I have > a problem: > > When I try to use external action I get Broken pipe. > This is a cut from the ~/.centericq/external: > > #-----# > %action Just a test external > > event msg > > proto icq > > status all > > options stdin stdout > > %exec > #!/bin/bash > if test "$CONTACT_UIN" = "123456789"; then > echo "hello. you must die" > fi > #-----# > > It really answers to UIN 123456789 with "hello. you must die", but terminates > with "Broken pipe" when message from any other UIN is recieved. Maybe you can include a else with an empty echo: if test ...;then echo "hello. you must die" else echo "" fi Tiger!P -- A random quote: Shortcuts may delay. _______________________________________________ Cicq mailing list Cicq-xGejAJT2w6wWP6gT/[email protected] http://mailman.linuxpl.org/mailman/listinfo/cicq Questions? Check the FAQ first: http://centericq.de/faq/