From a0001338e8e684e2fa916311d73e86f203d3b442 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 1 Jul 2011 11:26:35 +0000 Subject: applications/luci-splash: fix possible race condition --- applications/luci-splash/root/usr/sbin/luci-splash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'applications/luci-splash/root/usr') diff --git a/applications/luci-splash/root/usr/sbin/luci-splash b/applications/luci-splash/root/usr/sbin/luci-splash index b8b7014587..7738679f63 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() -- cgit v1.2.3