summaryrefslogtreecommitdiff
path: root/units/systemd-rfkill.service.in
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-10-24 22:53:07 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-10-26 20:12:52 -0400
commit0809d7740c5cf988e049781b4b80e14a3bbefb70 (patch)
tree7380162be2ded3f787d118cb27fe2b45e90986b0 /units/systemd-rfkill.service.in
parentd09f968657f379025c30c02cff7047b642b0866a (diff)
condition: simplify condition_test_virtualization
Rewrite the function to be slightly simpler. In particular, if a specific match is found (like ConditionVirtualization=yes), simply return an answer immediately, instead of relying that "yes" will not be matched by any of the virtualization names below. No functional change.
Diffstat (limited to 'units/systemd-rfkill.service.in')
0 files changed, 0 insertions, 0 deletions