From a5fc3c2841e7dd658907bd060ba8ac8c66e83cf6 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Mon, 12 Jul 2010 19:10:51 +0200 Subject: Fix distinguish in confirmation response if trailing message have been forwarded to subscribers for /go command in localkannel-dispatch. --- localkannel-dispatch | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/localkannel-dispatch b/localkannel-dispatch index e2e9be6..2a9927c 100755 --- a/localkannel-dispatch +++ b/localkannel-dispatch @@ -236,8 +236,10 @@ and start thread \"$realcmd\" on behalf of PHONE." for phone in $phones; do $sbindir/localsendsms "$phone" "[$cmd] $@" done + $sbindir/localsendsms "$to" "[info] \"$cmd\" thread started for \"$targetphone\", and trailing message forwarded to subscribers." + else + $sbindir/localsendsms "$to" "[info] \"$cmd\" thread started for \"$targetphone\" (no trailing message, so nothing forwarded to subscribers)." fi - $sbindir/localsendsms "$to" "[info] \"$cmd\" thread started for \"$targetphone\", and trailing message forwarded to subscribers." SMS_PHONE="$targetfrom" $sbindir/localmarkdown2sms "$targetphone" "/$realcmd" exit 0 ;; -- cgit v1.2.3