aboutsummaryrefslogtreecommitdiff
path: root/contrib/devtools/gen-manpages.py
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/devtools/gen-manpages.py')
-rwxr-xr-xcontrib/devtools/gen-manpages.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/devtools/gen-manpages.py b/contrib/devtools/gen-manpages.py
index 26612cc444..38cdb3acb8 100755
--- a/contrib/devtools/gen-manpages.py
+++ b/contrib/devtools/gen-manpages.py
@@ -36,7 +36,7 @@ versions = []
for relpath in BINARIES:
abspath = os.path.join(builddir, relpath)
try:
- r = subprocess.run([abspath, '--version'], stdout=subprocess.PIPE, universal_newlines=True)
+ r = subprocess.run([abspath, "--version"], stdout=subprocess.PIPE, check=True, universal_newlines=True)
except IOError:
print(f'{abspath} not found or not an executable', file=sys.stderr)
sys.exit(1)