]> git.ipfire.org Git - thirdparty/systemd.git/blame_incremental - coccinelle/empty-or-root.cocci
nspawn-expose-ports: fix a typo in error message
[thirdparty/systemd.git] / coccinelle / empty-or-root.cocci
... / ...
CommitLineData
1@@
2expression s;
3@@
4- (isempty(s) || path_equal(s, "/"))
5+ empty_or_root(s)
6@@
7expression s;
8@@
9- (!isempty(s) && !path_equal(s, "/"))
10+ !empty_or_root(s)