Use "-ignore_readdir_race" instead
This commit is contained in:
parent
e919a37309
commit
1122699107
@ -88,10 +88,7 @@ build {
|
|||||||
rm -f /etc/ssh/ssh_host_*key*
|
rm -f /etc/ssh/ssh_host_*key*
|
||||||
rm -f /etc/wireguard/*-*key /etc/wireguard/*-iface
|
rm -f /etc/wireguard/*-*key /etc/wireguard/*-iface
|
||||||
find /var/lib/apt/lists/ -mindepth 1 -delete
|
find /var/lib/apt/lists/ -mindepth 1 -delete
|
||||||
find / -type f -regextype egrep \
|
find / -ignore_readdir_race -type f -regex '.+\.\(dpkg\|ucf\)-\(old\|new\|dist\)' -delete
|
||||||
-regex '.+\.(dpkg|ucf)-(old|new|dist)' \
|
|
||||||
-not -regex '/(dev|proc|sys|run)/.*' \
|
|
||||||
-delete
|
|
||||||
EOF
|
EOF
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user