]> git.sur5r.net Git - bacula/bacula/commitdiff
Turn off useless End of file message during restore.
authorKern Sibbald <kern@sibbald.com>
Sat, 23 May 2009 12:36:57 +0000 (12:36 +0000)
committerKern Sibbald <kern@sibbald.com>
Sat, 23 May 2009 12:36:57 +0000 (12:36 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8854 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/stored/read_record.c
bacula/technotes

index d723e23b3a3ed258f63e3f8fdd8646c34c43415a..2c411aac093f49c46108e09f61e485111e83bb8f 100644 (file)
@@ -128,6 +128,7 @@ bool read_records(DCR *dcr,
             continue;
 
          } else if (dev->at_eof()) {
+#ifdef neeeded_xxx
             if (verbose) {
                char *fp;
                uint32_t fp_num;
@@ -139,8 +140,9 @@ bool read_records(DCR *dcr,
                   fp_num = dev->file;
                }
                Jmsg(jcr, M_INFO, 0, _("End of %s %u on device %s, Volume \"%s\"\n"),
-                  fp, fp_num, dev->print_name(), dcr->VolumeName);
+                    fp, fp_num, dev->print_name(), dcr->VolumeName);
             }
+#endif
             Dmsg3(200, "End of file %u  on device %s, Volume \"%s\"\n",
                   dev->file, dev->print_name(), dcr->VolumeName);
             continue;
index b517b0a3ad8e6f1e869893198a76179c9df715bb..17336fc8a75c461281726f7677706a46543e2262 100644 (file)
@@ -3,6 +3,8 @@
 General:
 
 23May09
+kes  Turn off useless End of file message during restore.
+=======
 kes  When doing a tree selection restore, look at the PurgedFiles column
      in the first JobId, and if non-zero, the Job was purged, so do
      not do selection.