diff options
author | Max Harmathy <max.harmathy@web.de> | 2017-12-15 16:05:25 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-12-15 16:05:25 +0100 |
commit | 5424824adf79f079b7f60c187c88d2811cb3248d (patch) | |
tree | bd305e58af215413c08a0670deba9057e3ff5f3b /meson.build | |
parent | man: Clarify when OnFailure= activates after restarts (#7646) (diff) | |
download | systemd-5424824adf79f079b7f60c187c88d2811cb3248d.tar.xz systemd-5424824adf79f079b7f60c187c88d2811cb3248d.zip |
Fix logical error in meson.build (#7658)
sysvinit_path and sysvrcnd_path have to be set both to activate Sysv compatibility.
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index ddc061c126..9f0a0f97f1 100644 --- a/meson.build +++ b/meson.build @@ -67,7 +67,7 @@ endif sysvinit_path = get_option('sysvinit-path') sysvrcnd_path = get_option('sysvrcnd-path') -have = sysvinit_path != '' or sysvrcnd_path != '' +have = sysvinit_path != '' and sysvrcnd_path != '' conf.set10('HAVE_SYSV_COMPAT', have, description : 'SysV init scripts and rcN.d links are supported') m4_defines += have ? ['-DHAVE_SYSV_COMPAT'] : [] |