summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorVladimír Čunát <vladimir.cunat@nic.cz>2022-05-30 13:48:16 +0200
committerVladimír Čunát <vladimir.cunat@nic.cz>2022-06-01 10:10:41 +0200
commit04abfbe1d0cede34358f66e11ec58bb6266b976f (patch)
treeedcf259446981d499ba2415725406c01c99693d4 /etc
parentMerge !1302: renumber: allow renumbering a subnet to a single IP (diff)
downloadknot-resolver-04abfbe1d0cede34358f66e11ec58bb6266b976f.tar.xz
knot-resolver-04abfbe1d0cede34358f66e11ec58bb6266b976f.zip
meson nit: deal with warning about future of run_command
WARNING: You should add the boolean check kwarg to the run_command call. It currently defaults to false, but it will default to true in future releases of meson. See also: https://github.com/mesonbuild/meson/issues/9300 In almost all cases we already check the return code explicitly and throw a more descriptive message than what would be the default.
Diffstat (limited to 'etc')
-rw-r--r--etc/config/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/config/meson.build b/etc/config/meson.build
index a4a9c500..ca888084 100644
--- a/etc/config/meson.build
+++ b/etc/config/meson.build
@@ -21,7 +21,7 @@ install_data(
# kresd.conf
install_kresd_conf = get_option('install_kresd_conf') == 'enabled'
if get_option('install_kresd_conf') == 'auto'
- if run_command(['test', '-r', etc_dir / 'kresd.conf']).returncode() == 1
+ if run_command(['test', '-r', etc_dir / 'kresd.conf'], check: false).returncode() == 1
install_kresd_conf = true
endif
endif