diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2018-02-21 22:21:19 -0800 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-02-21 22:21:19 -0800 |
| commit | 222fa360120b9b66fcd305a247e57e1ddf669229 (patch) | |
| tree | a66bad977c5db3fb1e000111ddc751330f213f64 /toolsrc/include | |
| parent | 65e241cf8b47a07b85efae85bac14e723864dccb (diff) | |
| download | vcpkg-222fa360120b9b66fcd305a247e57e1ddf669229.tar.gz vcpkg-222fa360120b9b66fcd305a247e57e1ddf669229.zip | |
[vcpkg] Fixup previous commit
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/vcpkg/base/files.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/include/vcpkg/base/files.h b/toolsrc/include/vcpkg/base/files.h index a2bf9c33c..09393b9ee 100644 --- a/toolsrc/include/vcpkg/base/files.h +++ b/toolsrc/include/vcpkg/base/files.h @@ -57,7 +57,7 @@ namespace vcpkg::Files std::error_code ec; write_contents(file_path, data, ec); Checks::check_exit( - VCPKG_LINE_INFO, ec, "error while writing file: %s: %s", file_path.u8string(), ec.message()); + VCPKG_LINE_INFO, !ec, "error while writing file: %s: %s", file_path.u8string(), ec.message()); } }; |
