]> git.ipfire.org Git - thirdparty/systemd.git/blob - coccinelle/empty-or-root.cocci
test: Disable LUKS devices from initramfs in QEMU tests
[thirdparty/systemd.git] / coccinelle / empty-or-root.cocci
1 @@
2 expression s;
3 @@
4 - (isempty(s) || path_equal(s, "/"))
5 + empty_or_root(s)
6 @@
7 expression s;
8 @@
9 - (!isempty(s) && !path_equal(s, "/"))
10 + !empty_or_root(s)