CleanupTmpDir() is not Fatal

This commit is contained in:
Daniele Rondina
2020-05-01 15:27:19 +02:00
parent 1f99fde1c5
commit 60d9017952

View File

@@ -73,7 +73,7 @@ var RootCmd = &cobra.Command{
// Cleanup all tmp directories used by luet // Cleanup all tmp directories used by luet
err := config.LuetCfg.GetSystem().CleanupTmpDir() err := config.LuetCfg.GetSystem().CleanupTmpDir()
if err != nil { if err != nil {
Fatal("failed on cleanup tmpdir:", err.Error()) Warning("failed on cleanup tmpdir:", err.Error())
} }
}, },
SilenceErrors: true, SilenceErrors: true,