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");
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to