diff --git a/tests/common.sh.in b/tests/common.sh.in index 83533fd99..3d2d13af2 100644 --- a/tests/common.sh.in +++ b/tests/common.sh.in @@ -66,7 +66,7 @@ clearProfiles() { clearStore() { echo "clearing store..." - chmod -R +w "$NIX_STORE_DIR" + chmod -R +w "$NIX_STORE_DIR" || true rm -rf "$NIX_STORE_DIR" mkdir "$NIX_STORE_DIR" rm -rf "$NIX_STATE_DIR"