chore(rules): remove redundant condition from root_dir macro

Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
This commit is contained in:
Leonardo Grasso 2020-06-26 12:40:28 +02:00 committed by poiana
parent 1859552834
commit 27037e64cc

View File

@ -110,7 +110,7 @@
# This detects writes immediately below / or any write anywhere below /root
- macro: root_dir
condition: ((fd.directory=/ or fd.name startswith /root/) and fd.name contains "/")
condition: (fd.directory=/ or fd.name startswith /root/)
- list: shell_binaries
items: [ash, bash, csh, ksh, sh, tcsh, zsh, dash]