aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 326352ba..46879f2a 100644
--- a/meson.build
+++ b/meson.build
@@ -36,7 +36,7 @@ endif
option_os = get_option('os')
if option_os == ''
uname = find_program('uname')
- r = run_command(uname, '-s')
+ r = run_command(uname, '-s', check: true)
os = r.stdout().strip()
os = '-'.join(os.split('/'))
else
@@ -84,7 +84,7 @@ else
endif
if get_option('split-usr') == 'auto'
- split_usr = run_command('test', '-L', '/bin').returncode() != 0
+ split_usr = run_command('test', '-L', '/bin', check: false).returncode() != 0
else
split_usr = get_option('split-usr') == 'true'
endif