applications/luci-splash: fix possible race condition

This commit is contained in:
Jo-Philipp Wich 2011-07-01 11:26:35 +00:00
parent 6d65042743
commit a0001338e8

View file

@ -14,7 +14,7 @@ local limit_up = 0
local limit_down = 0 local limit_down = 0
function lock() 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 end
function unlock() function unlock()