diff options
author | Jakob Borg <jakob@kastelo.net> | 2019-02-02 12:16:27 +0100 |
---|---|---|
committer | Jakob Borg <jakob@kastelo.net> | 2019-02-02 12:16:27 +0100 |
commit | c2ddc835095d9d82a79524bfd80a104db98b61f6 (patch) | |
tree | d36c5755cf5b78ee4db82f21db5f833719a0101d /test | |
parent | 9fd270d78ec6e9d815cecff6264b508651176f38 (diff) | |
download | syncthing-c2ddc835095d9d82a79524bfd80a104db98b61f6.tar.gz syncthing-c2ddc835095d9d82a79524bfd80a104db98b61f6.zip |
all: Revert the underscore sillyness
Diffstat (limited to 'test')
-rw-r--r-- | test/util.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/util.go b/test/util.go index 40fdc6566..7e4d24287 100644 --- a/test/util.go +++ b/test/util.go @@ -94,7 +94,7 @@ func generateOneFile(fd io.ReadSeeker, p1 string, s int64) error { return err } - _ = os.Chmod(p1, os.FileMode(rand.Intn(0777)|0400)) + os.Chmod(p1, os.FileMode(rand.Intn(0777)|0400)) t := time.Now().Add(-time.Duration(rand.Intn(30*86400)) * time.Second) err = os.Chtimes(p1, t, t) |