From a832fda615130e15c47d38caa972f96e48f6d589 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Thu, 1 Jan 2015 17:19:38 +0100 Subject: [PATCH] bup fsck: remove "fsck:" prefix in messages --- cmd/fsck-cmd.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/fsck-cmd.py b/cmd/fsck-cmd.py index cf982aa..825a37c 100755 --- a/cmd/fsck-cmd.py +++ b/cmd/fsck-cmd.py @@ -30,7 +30,7 @@ def par2_setup(): stdout=nullf, stderr=nullf, stdin=nullf) rv = p.wait() except OSError: - log('fsck: Warning: "par2" not found; disabling recovery features!') + log('Warning: "par2" not found; disabling recovery features!') else: par2_ok = 1 @@ -151,7 +151,7 @@ if opt.disable_par2: git.check_repo_or_die() if not extra: - debug('fsck: No filenames given: checking all packs.') + debug('No filenames given: checking all packs.') extra = glob.glob(git.repo('objects/pack/*.pack')) code = 0 @@ -173,7 +173,7 @@ for name in extra: if par2_exists and os.stat(base + '.par2').st_size == 0: par2_exists = 0 sys.stdout.flush() - debug('fsck: Checking %s (%s) ...' + debug('Checking %s (%s) ...' % (last, par2_ok and par2_exists and 'par2' or 'git')) if not opt.verbose: progress_update('fsck (%d/%d) ...' % (count + 1, len(extra))) -- 2.39.2