BSD 4_2 release
[unix-history] / usr / src / etc / dump / dumprtape.c
index 6a54b2a..18d822d 100644 (file)
@@ -1,4 +1,4 @@
-static char *sccsid = "@(#)dumprtape.c 1.4 83/02/11";
+static char *sccsid = "@(#)dumprtape.c 1.5 83/08/11";
 
 #include "dump.h"
 
 
 #include "dump.h"
 
@@ -229,7 +229,14 @@ msg("Child %d returns LOB status %o\n", child, status & 0xff);
 
                case X_REWRITE:
                        rmtclose();
 
                case X_REWRITE:
                        rmtclose();
-                       exit(X_ABORT);
+#ifdef notdef
+                       do {
+                               if (!query("Retry conection to remote host?"))
+                                       exit(X_ABORT);
+                               rmtgetconn();
+                       } while (rmtape < 0);
+#endif
+                       goto again;
 
                default:
                        msg("Bad return code from dump: %d\n", status);
 
                default:
                        msg("Bad return code from dump: %d\n", status);