Rivoreo Source Code Repositories
src.rivoreo.one
/
systemd-stable
/
v245
/
.
/
coccinelle
/
empty-or-root.cocci
blob: bf2f614da67ff298ed9c571697ab73fc3b5fb324 [
file
] [
log
] [
blame
] [
raw
]
@@
expression s
;
@@
-
(
isempty
(
s
)
||
path_equal
(
s
,
"/"
))
+
empty_or_root
(
s
)
@@
expression s
;
@@
-
(!
isempty
(
s
)
&&
!
path_equal
(
s
,
"/"
))
+
!
empty_or_root
(
s
)