cmd/backup: Fix snapshot not being removed
This commit is contained in:
parent
54747e267e
commit
3c64689068
1 changed files with 1 additions and 2 deletions
|
|
@ -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!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue