Browse Source

fsck: improve instructions about removing leftover data

tags/nilmdb-2.2.0
Jim Paris 2 years ago
parent
commit
648b6f4b70
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      nilmdb/fsck/fsck.py

+ 2
- 2
nilmdb/fsck/fsck.py View File

@@ -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 "


Loading…
Cancel
Save