From 2548e38d095b74532ada37916aceb24897185934 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 9 Aug 2009 00:52:38 +0200 Subject: Fix executing sendsms. --- localmarkdown2sms | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'localmarkdown2sms') diff --git a/localmarkdown2sms b/localmarkdown2sms index ac8e699..fcd96a8 100755 --- a/localmarkdown2sms +++ b/localmarkdown2sms @@ -131,8 +131,7 @@ sub sendmsg { unless ($DUMMY) { print STDERR "Exec'ing \"...sendsms $phone ...\"\n" if ($DEBUG); - system {'/usr/share/kannel/contrib/sendsms' } $phone, $msg; - system {'/usr/share/kannel/contrib/sendsms' } $phone, $msg; + system '/usr/share/kannel/contrib/sendsms', $phone, $msg; print STDERR "Done $desc\n" if ($DEBUG); } else { print STDERR "\n --> $phone: $desc\n"; -- cgit v1.2.3