chiark
/
gitweb
/
~ianmdlvl
/
post-pizza-notify.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
via-sms: use locking
[post-pizza-notify.git]
/
via-sms
diff --git
a/via-sms
b/via-sms
index 91f188161c626d9b390384bcd6663d14bd8eb39f..e20977491b515500056e0a0289170ebe00a18d93 100755
(executable)
--- a/
via-sms
+++ b/
via-sms
@@
-7,4
+7,5
@@
set -e
msg="$1"
rcpt="$2"
+with-lock-ex -w .sms.lock \
gammu sendsms TEXT "$rcpt" -text "$msg"