diff options
author | Vladimír Čunát <vladimir.cunat@nic.cz> | 2022-05-30 13:48:16 +0200 |
---|---|---|
committer | Vladimír Čunát <vladimir.cunat@nic.cz> | 2022-06-01 10:10:41 +0200 |
commit | 04abfbe1d0cede34358f66e11ec58bb6266b976f (patch) | |
tree | edcf259446981d499ba2415725406c01c99693d4 /etc | |
parent | Merge !1302: renumber: allow renumbering a subnet to a single IP (diff) | |
download | knot-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.build | 2 |
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 |