summaryrefslogtreecommitdiff
path: root/localkannel-dispatch
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2010-07-12 19:10:51 +0200
committerJonas Smedegaard <dr@jones.dk>2010-07-12 19:10:51 +0200
commita5fc3c2841e7dd658907bd060ba8ac8c66e83cf6 (patch)
tree9d084c930692c64479ebd78525fffd04abb4c5ac /localkannel-dispatch
parent08142b64fd2504b08fb15340d75d8aba48a3536e (diff)
Fix distinguish in confirmation response if trailing message have been forwarded to subscribers for /go command in localkannel-dispatch.
Diffstat (limited to 'localkannel-dispatch')
-rwxr-xr-xlocalkannel-dispatch4
1 files changed, 3 insertions, 1 deletions
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
;;