External action = Broken pipe

Michael <[email protected]> Thu, 1 Feb 2007 10:59:45 +0000 (UTC)
Newsgroups gmane.network.centericq
Message-ID <[email protected]>
Hi,

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.

Suggestions, comments, please!

Michael

_______________________________________________
Cicq mailing list
Cicq-xGejAJT2w6wWP6gT/[email protected]
http://mailman.linuxpl.org/mailman/listinfo/cicq
Questions? Check the FAQ first: http://centericq.de/faq/