diff options
author | nae202 <nae202@yandex-team.com> | 2024-11-20 12:52:01 +0300 |
---|---|---|
committer | nae202 <nae202@yandex-team.com> | 2024-11-20 13:14:09 +0300 |
commit | 0b9d91e900b52bccd6eabd033acbb57c4ee173fc (patch) | |
tree | 6839ed69fbda4d5214eb418acc4554924bc64160 /util/system/sysstat.cpp | |
parent | 878e26057d11cce46b7bc3a6c838209d4686e28b (diff) | |
download | ydb-0b9d91e900b52bccd6eabd033acbb57c4ee173fc.tar.gz |
Part of PR. Style
Часть большого ПР REVIEW:7264088
commit_hash:0f5b03fbbed0ac30f734943309e3ef5cd4d7a30e
Diffstat (limited to 'util/system/sysstat.cpp')
-rw-r--r-- | util/system/sysstat.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/system/sysstat.cpp b/util/system/sysstat.cpp index db3338b02e..3486817484 100644 --- a/util/system/sysstat.cpp +++ b/util/system/sysstat.cpp @@ -11,8 +11,9 @@ int Chmod(const char* fname, int mode) { return -1; } ui32 fAttr = ::GetFileAttributesA(fname); - if (fAttr == 0xffffffff) + if (fAttr == 0xffffffff) { return -1; + } if (mode & _S_IWRITE) { fAttr &= ~FILE_ATTRIBUTE_READONLY; } else { |