Skip to content

Commit 5f87a02

Browse files
committed
meson: Remove redundant return code check
run_command(check: true) already would have errorred out before the check is reached. Author: Tristan Partin <tristan@neon.tech> Discussion: CSPIJVUDZFKX.3KHMOAVGF94RV@c3po
1 parent a798660 commit 5f87a02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ install_files = files('src/tools/install_files')
385385
# https://github.com/mesonbuild/meson/issues/8511
386386
meson_binpath_r = run_command(python, 'src/tools/find_meson', check: true)
387387

388-
if meson_binpath_r.returncode() != 0 or meson_binpath_r.stdout() == ''
388+
if meson_binpath_r.stdout() == ''
389389
error('huh, could not run find_meson.\nerrcode: @0@\nstdout: @1@\nstderr: @2@'.format(
390390
meson_binpath_r.returncode(),
391391
meson_binpath_r.stdout(),

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy