Sign in
third-party-mirror
/
systemd
/
2398d87694e8af48e92ff8fb5f9cf273f706fb00
/
.
/
coccinelle
/
empty-or-root.cocci
blob: bf2f614da67ff298ed9c571697ab73fc3b5fb324 [
file
] [
log
] [
blame
]
@@
expression s
;
@@
-
(
isempty
(
s
)
||
path_equal
(
s
,
"/"
))
+
empty_or_root
(
s
)
@@
expression s
;
@@
-
(!
isempty
(
s
)
&&
!
path_equal
(
s
,
"/"
))
+
!
empty_or_root
(
s
)