From 1d28f9d43424f80d4911dbc9825e2a5b2db49b9a Mon Sep 17 00:00:00 2001 From: jh Date: Sat, 13 Feb 2010 10:22:07 +0000 Subject: 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(-) (limited to 'sbin/restore') 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"); -- cgit v1.1