From 86c5496de82282bcb2f9ed8f1fc5e74687324871 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 8 Jul 2010 10:28:49 +0200 Subject: Tidy coding style in localkannel-dispatch: exit immediately after end of routine. --- localkannel-dispatch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'localkannel-dispatch') 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 -- cgit v1.2.3