diff options
Diffstat (limited to 'third_party/nix/src/libmain/shared.cc')
-rw-r--r-- | third_party/nix/src/libmain/shared.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/src/libmain/shared.cc b/third_party/nix/src/libmain/shared.cc index 348b91ab55e9..542dc25957a4 100644 --- a/third_party/nix/src/libmain/shared.cc +++ b/third_party/nix/src/libmain/shared.cc @@ -360,7 +360,7 @@ RunPager::RunPager() { RunPager::~RunPager() { try { - if (pid != -1) { + if (pid != Pid(-1)) { std::cout.flush(); close(STDOUT_FILENO); pid.wait(); |