cosmetic: more linting

This commit is contained in:
Matthias Radestock committed 2015-03-27 01:24:19 +00:00
1 parent 2500bc210a
commit 8cb9e301ee
1 file changed
+1 -1
+1 -1
View File
@@ -10,7 +10,7 @@ func EnsureInterface(ifaceName string, wait int) (iface *net.Interface, err erro
if iface, err = findInterface(ifaceName); err == nil || wait == 0 {
return
}
for ; err != nil && wait > 0; wait -= 1 {
for ; err != nil && wait > 0; wait-- {
time.Sleep(1 * time.Second)
iface, err = findInterface(ifaceName)
}