coverage.sh: don't attempt deleting non-existant directory

This commit is contained in:
Johannes Schauer Marin Rodrigues 2021-02-19 14:40:20 +01:00
parent 067daaf4c2
commit 5fd1ca62d9
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -603,7 +603,7 @@ if [ "\$ret" = 0 ]; then
echo expected failure but got exit \$ret >&2 echo expected failure but got exit \$ret >&2
exit 1 exit 1
fi fi
rm -r /tmp/debian-chroot [ ! -e /tmp/debian-chroot ]
END END
if [ "$CONTAINER" = "lxc" ]; then if [ "$CONTAINER" = "lxc" ]; then
# see https://stackoverflow.com/questions/65748254/ # see https://stackoverflow.com/questions/65748254/