summaryrefslogtreecommitdiff
path: root/net/tuntap.sh
diff options
context:
space:
mode:
Diffstat (limited to 'net/tuntap.sh')
-rw-r--r--net/tuntap.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tuntap.sh b/net/tuntap.sh
index 884e0ab..ac505ab 100644
--- a/net/tuntap.sh
+++ b/net/tuntap.sh
@@ -30,7 +30,7 @@ tuntap_pre_start()
local timeout=10
while [ ! -e /dev/net/tun -a ${timeout} -gt 0 ]; do
sleep 1
- timeout=$((${timeout} - 1))
+ : $(( timeout -= 1 ))
done
if [ ! -e /dev/net/tun ]; then
eerror "TUN/TAP support present but /dev/net/tun is not"