Commit 0b51ea75 authored by David Johnson's avatar David Johnson

Another minor bugfix; sys device is not a regular file.

parent e6f8b2da
......@@ -246,7 +246,7 @@ EOF
# XXX: do this in a script on server-side, somehow
i=8
while [ ! -f /sys/class/net/tun-$aggprefix -a $i -gt 0 ]; do
while [ ! -e /sys/class/net/tun-$aggprefix -a $i -gt 0 ]; do
i=`expr $i - 1`
sleep 1
done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment