From 648b6f4b70614c4b05fc78282dc4fd7ca474bafd Mon Sep 17 00:00:00 2001 From: Jim Paris Date: Mon, 17 Aug 2020 22:55:09 -0400 Subject: [PATCH] fsck: improve instructions about removing leftover data --- nilmdb/fsck/fsck.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nilmdb/fsck/fsck.py b/nilmdb/fsck/fsck.py index 6922a7f..acdd41d 100644 --- a/nilmdb/fsck/fsck.py +++ b/nilmdb/fsck/fsck.py @@ -401,8 +401,8 @@ class Fsck(object): # Otherwise, the only hope is to delete the interval entirely. err("*** Deleting the entire interval from SQL.\n") err("This may leave stale data on disk. To fix that, copy all\n") - err("data from this stream to a new stream, then remove all data\n") - err("from and destroy %s.\n", path) + err("data from this stream to a new stream using nilm-copy, then\n") + err("remove all data from and destroy %s.\n", path) with self.sql: cur = self.sql.cursor() cur.execute("DELETE FROM ranges WHERE "