summaryrefslogtreecommitdiffstats
path: root/sbin/restore
diff options
context:
space:
mode:
authorjh <jh@FreeBSD.org>2010-02-13 10:22:07 +0000
committerjh <jh@FreeBSD.org>2010-02-13 10:22:07 +0000
commit1d28f9d43424f80d4911dbc9825e2a5b2db49b9a (patch)
tree76ac918becac7bce01d57fda53abd3a2fbfc98d6 /sbin/restore
parent8d96822e1985622d90c51ced78680918c89f7471 (diff)
downloadFreeBSD-src-1d28f9d43424f80d4911dbc9825e2a5b2db49b9a.zip
FreeBSD-src-1d28f9d43424f80d4911dbc9825e2a5b2db49b9a.tar.gz
Don't try to determine tape block size when the -P option is used.
This was missed in r203157. PR: bin/121502
Diffstat (limited to 'sbin/restore')
-rw-r--r--sbin/restore/tape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/restore/tape.c b/sbin/restore/tape.c
index 1355aff..a566c5a 100644
--- a/sbin/restore/tape.c
+++ b/sbin/restore/tape.c
@@ -227,7 +227,7 @@ setup(void)
volno = 1;
setdumpnum();
FLUSHTAPEBUF();
- if (!pipein && !bflag)
+ if (!pipein && !pipecmdin && !bflag)
findtapeblksize();
if (gethead(&spcl) == FAIL) {
fprintf(stderr, "Tape is not a dump tape\n");
OpenPOWER on IntegriCloud