]> arthur.barton.de Git - bup.git/commit
fsck: only specify -t1 when par2 appears to support it
authorRob Browning <rlb@defaultvalue.org>
Sat, 24 Aug 2019 16:49:54 +0000 (11:49 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sat, 24 Aug 2019 21:00:27 +0000 (16:00 -0500)
commitdc10c9172e1197c77c246ea75aae63388dcd641e
treeab9c62cc46b31dca5c8ab23788da183c98f037c7
parent5650910803b9d342054e27da888f3343c1c56087
fsck: only specify -t1 when par2 appears to support it

It looks like par2 may reject the "-t1" argument even when it's new
enough to support parallelism, so we can't rely on detecting the
version.  Instead, before running the first real par2 command, test
-t1 in a sandbox to decide whether we can use it.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
cmd/fsck-cmd.py