diff options
Diffstat (limited to 'internal/tempdir/clean.go')
-rw-r--r-- | internal/tempdir/clean.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/tempdir/clean.go b/internal/tempdir/clean.go index 489fefab3..cb97f1968 100644 --- a/internal/tempdir/clean.go +++ b/internal/tempdir/clean.go @@ -67,7 +67,7 @@ func clean(logger log.Logger, locator storage.Locator, storage config.Storage) e // If we start "cleaning up" the wrong directory we may delete user data // which is Really Bad. if !strings.HasSuffix(dir, tmpRootPrefix) { - logger.Print(dir) + logger.Info(dir) panic(invalidCleanRoot("invalid tempdir clean root: panicking to prevent data loss")) } |