3a71eb0256
The `bufio.Scanner.Scan` method returns false either by reaching the end of the input or an error. After Scan returns false, the Err method will return any error that occurred during scanning, except that if it was io.EOF, Err will return nil. We should check the error when Scan return false(out of the for loop). Signed-off-by: Wang Long <long.wanglong@huawei.com> |
||
---|---|---|
.. | ||
fixtures | ||
config.go | ||
seccomp_linux.go | ||
seccomp_linux_test.go | ||
seccomp_unsupported.go |