mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-01 13:55:36 +00:00
meson/build: avoid using ternary as it breaks older meson
See mesonbuild issue 5003. Oddly, this isn't inside a method call, while we use ternaries inside a method calls otherwise. Anyway, workaround this and avoid the crash. Fixes:c21c6bc0be
('build/meson: allow configuring default for main.auth-polkit setting') (cherry picked from commit0e3400bef7
)
This commit is contained in:
parent
d8cc6af058
commit
490c46e527
|
@ -940,7 +940,13 @@ output += ' session tracking: ' + ','.join(session_trackers) + '\n'
|
|||
output += ' suspend/resume: ' + suspend_resume + '\n'
|
||||
output += ' policykit: ' + enable_polkit.to_string() + ' (default: ' + config_auth_polkit_default + ')'
|
||||
if enable_polkit
|
||||
output += ' (' + (enable_modify_system ? 'permissive' : 'restrictive') + ' modify.system)'
|
||||
output += ' ('
|
||||
if enable_modify_system
|
||||
output += 'permissive'
|
||||
else
|
||||
output += 'restrictive'
|
||||
endif
|
||||
output += ' modify.system)'
|
||||
endif
|
||||
output += '\n'
|
||||
output += ' polkit agent: ' + enable_polkit_agent.to_string() + '\n'
|
||||
|
|
Loading…
Reference in a new issue