diff --git a/Makefile.work b/Makefile.work index c1a6555cc5..ba01e27fd0 100644 --- a/Makefile.work +++ b/Makefile.work @@ -463,7 +463,7 @@ reset : @read ans && ( if [ $$ans == y ]; then echo "Resetting local repository. Please wait..."; - $(DOCKER_RUN) $(SLAVE_IMAGE):$(SLAVE_TAG) sudo rm -rf fsroot; + sudo rm -rf fsroot*; if [ "$(MULTIARCH_QEMU_ENVIRON)" == y ] && [[ "$(CONFIGURED_ARCH)" == "armhf" || "$(CONFIGURED_ARCH)" == "arm64" ]]; then echo "Stopping march $(CONFIGURED_ARCH) docker" sudo kill -9 `sudo cat /var/run/march/docker.pid` || true