diff options
author | Jonas Smedegaard <dr@jones.dk> | 2009-08-09 00:52:38 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2009-08-09 00:52:38 +0200 |
commit | 2548e38d095b74532ada37916aceb24897185934 (patch) | |
tree | ac148edbe24970f824b40a55e515fb2b57e3c634 /localmarkdown2sms | |
parent | 698270e9aa369b87f70d162d04bde3be69ad88f0 (diff) |
Fix executing sendsms.
Diffstat (limited to 'localmarkdown2sms')
-rwxr-xr-x | localmarkdown2sms | 3 |
1 files changed, 1 insertions, 2 deletions
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"; |