diff options
-rw-r--r-- | daemon.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/daemon.am b/daemon.am index 26b07c4105..33e26d1dfe 100644 --- a/daemon.am +++ b/daemon.am @@ -175,5 +175,7 @@ TESTS += \ tests/guix-daemon.sh clean-local: - -find "$(GUIX_TEST_ROOT)" | xargs chmod +w + -if test -d "$(GUIX_TEST_ROOT)"; then \ + find "$(GUIX_TEST_ROOT)" | xargs chmod +w; \ + fi -rm -rf "$(GUIX_TEST_ROOT)" |