]> git.ipfire.org Git - thirdparty/systemd.git/blob - coccinelle/empty-or-root.cocci
man: fix reference to sd_bus_add_fallback_vtable
[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)