diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-07-01 11:26:35 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-07-01 11:26:35 +0000 |
commit | a0001338e8e684e2fa916311d73e86f203d3b442 (patch) | |
tree | 68f1048c8335f8907dc25d3494d949349ff610cf /applications | |
parent | 6d65042743d6ce3a386b661778a425ea0a568c8f (diff) |
applications/luci-splash: fix possible race condition
Diffstat (limited to 'applications')
-rwxr-xr-x | applications/luci-splash/root/usr/sbin/luci-splash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-splash/root/usr/sbin/luci-splash b/applications/luci-splash/root/usr/sbin/luci-splash index b8b701458..7738679f6 100755 --- 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() |