From 3c64689068706f6a82580cf372a97bf8c4e9089e Mon Sep 17 00:00:00 2001 From: Tom Wiesing Date: Mon, 5 Sep 2022 15:55:44 +0200 Subject: [PATCH] cmd/backup: Fix snapshot not being removed --- cmd/backup.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/backup.go b/cmd/backup.go index 454c887..b327b6c 100644 --- a/cmd/backup.go +++ b/cmd/backup.go @@ -60,8 +60,7 @@ func (bi backupInstance) Run(context wisski_distillery.Context) error { } defer func() { logging.LogMessage(context.IOStream, "Removing temporary backup directory") - context.Println(path) - // os.RemoveAll(path) // TODO: Turn this on again + os.RemoveAll(path) // TODO: Turn this on again }() // make the snapshot!