diff options
-rw-r--r-- | guix/scripts/discover.scm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/guix/scripts/discover.scm b/guix/scripts/discover.scm index 2b5b564bbe..6aade81ed1 100644 --- a/guix/scripts/discover.scm +++ b/guix/scripts/discover.scm @@ -137,5 +137,6 @@ to synchronize with the writer." (publish-file (publish-file cache))) (parameterize ((%publish-file publish-file)) (mkdir-p (dirname publish-file)) + (false-if-exception (delete-file publish-file)) (avahi-browse-service-thread service-proc #:types %services))))) |