Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Feb 2010 10:22:07 +0000 (UTC)
From:      Jaakko Heinonen <jh@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r203816 - head/sbin/restore
Message-ID:  <201002131022.o1DAM75M041921@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002131022.o1DAM75M041921>