v0.2.2 fixes: split only text sources, report a mode change once, don't block on open
Test / test (push) Canceled after 0s
Test / test (push) Canceled after 0s
This commit is contained in:
21 files changed
+368
-62
No files matched your search
@@ -8,6 +8,8 @@ import (
|
||||
"syscall"
|
||||
)
|
||||
|
||||
const openNonBlock = syscall.O_NONBLOCK
|
||||
|
||||
func checkFileOwner(info os.FileInfo) error {
|
||||
stat, ok := info.Sys().(*syscall.Stat_t)
|
||||
if !ok || stat.Uid != uint32(os.Geteuid()) {
|
||||
|
||||
Reference in new issue
Block a user