summaryrefslogtreecommitdiff
path: root/localkannel-dispatch
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2010-07-08 10:28:49 +0200
committerJonas Smedegaard <dr@jones.dk>2010-07-08 10:29:00 +0200
commit86c5496de82282bcb2f9ed8f1fc5e74687324871 (patch)
tree41cd146daaa12863864dbb6b90f357eea51b8a66 /localkannel-dispatch
parent1540945579079a26db01e03f91815a6732c00d9b (diff)
Tidy coding style in localkannel-dispatch: exit immediately after end of routine.
Diffstat (limited to 'localkannel-dispatch')
-rwxr-xr-xlocalkannel-dispatch4
1 files changed, 2 insertions, 2 deletions
diff --git a/localkannel-dispatch b/localkannel-dispatch
index 5f1a60f..c6b5aa0 100755
--- a/localkannel-dispatch
+++ b/localkannel-dispatch
@@ -178,9 +178,9 @@ case "$app" in
/ping [...]
Respond \"pong\" and echo back any addition input."
- else
- $sbindir/localsendsms "$to" pong "$@"
+ exit 0
fi
+ $sbindir/localsendsms "$to" pong "$@"
exit 0
;;
esac