From 1d28f9d43424f80d4911dbc9825e2a5b2db49b9a Mon Sep 17 00:00:00 2001 From: jh Date: Sat, 13 Feb 2010 10:22:07 +0000 Subject: [PATCH] Don't try to determine tape block size when the -P option is used. This was missed in r203157. PR: bin/121502 --- sbin/restore/tape.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/restore/tape.c b/sbin/restore/tape.c index 1355aff45e55..a566c5acf339 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");