diff --git a/gyp/pylib/gyp/input.py b/gyp/pylib/gyp/input.py index 354958bfb2..3084da7d23 100644 --- a/gyp/pylib/gyp/input.py +++ b/gyp/pylib/gyp/input.py @@ -979,7 +979,7 @@ def ExpandVariables(input, phase, variables, build_file): p_stdout = p_stdout.decode("utf-8") p_stderr = p_stderr.decode("utf-8") - if p.wait() != 0 or p_stderr: + if p.wait() != 0: sys.stderr.write(p_stderr) # Simulate check_call behavior, since check_call only exists # in python 2.5 and later.