applications/luci-splash: fix possible race condition
This commit is contained in:
parent
6d65042743
commit
a0001338e8
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue