svn commit: r203816 - head/sbin/restore
Jaakko Heinonen
jh at FreeBSD.org
Sat Feb 13 10:22:07 UTC 2010
Author: jh
Date: Sat Feb 13 10:22:07 2010
New Revision: 203816
URL: http://svn.freebsd.org/changeset/base/203816
Log:
Don't try to determine tape block size when the -P option is used.
This was missed in r203157.
PR: bin/121502
Modified:
head/sbin/restore/tape.c
Modified: head/sbin/restore/tape.c
==============================================================================
--- head/sbin/restore/tape.c Sat Feb 13 09:45:50 2010 (r203815)
+++ head/sbin/restore/tape.c Sat Feb 13 10:22:07 2010 (r203816)
@@ -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");
More information about the svn-src-head
mailing list