applications/luci-splash: fix possible race condition
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 1 Jul 2011 11:26:35 +0000 (11:26 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 1 Jul 2011 11:26:35 +0000 (11:26 +0000)
applications/luci-splash/root/usr/sbin/luci-splash

index b8b7014..7738679 100755 (executable)
@@ -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()