projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d65042
)
applications/luci-splash: fix possible race condition
author
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 1 Jul 2011 11:26:35 +0000
(11:26 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 1 Jul 2011 11:26:35 +0000
(11:26 +0000)
applications/luci-splash/root/usr/sbin/luci-splash
patch
|
blob
|
history
diff --git
a/applications/luci-splash/root/usr/sbin/luci-splash
b/applications/luci-splash/root/usr/sbin/luci-splash
index b8b70145871ebcbc66b5a48441a249b9d92d2e4e..7738679f63afed0cfed24efd90c5219f05b42c2b 100755
(executable)
--- a/
applications/luci-splash/root/usr/sbin/luci-splash
+++ b/
applications/luci-splash/root/usr/sbin/luci-splash
@@
-14,7
+14,7
@@
local limit_up = 0
local limit_down = 0
function lock()
- os.execute("lock
-w /var/run/luci_splash.lock && lock
/var/run/luci_splash.lock")
+ os.execute("lock /var/run/luci_splash.lock")
end
function unlock()