]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl tweak show job=xxx command
authorEric Bollengier <eric@eb.homelinux.org>
Thu, 8 May 2008 12:05:36 +0000 (12:05 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Thu, 8 May 2008 12:05:36 +0000 (12:05 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6915 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/dird/dird_conf.c

index e0cbb58898b03704fcce1a77ba19c6f3c51c4312..1a5a762b96a5e8640746bce5771ca27c17bf0db5 100644 (file)
@@ -635,6 +635,9 @@ void dump_resource(int type, RES *reshdr, void sendit(void *sock, const char *fm
       if (res->res_job.spool_size) {
          sendit(sock, _("     SpoolSize=%s\n"),        edit_uint64(res->res_job.spool_size, ed1));
       }
+      if (res->res_job.stats_enabled) {
+        sendit(sock, _("     StatsEnabled=%d\n"), res->res_job.stats_enabled);
+      }
       if (res->res_job.JobType == JT_BACKUP) {
          sendit(sock, _("     Accurate=%d\n"), res->res_job.accurate);
       }
@@ -659,9 +662,6 @@ void dump_resource(int type, RES *reshdr, void sendit(void *sock, const char *fm
       if (res->res_job.RegexWhere) {
            sendit(sock, _("  --> RegexWhere=%s\n"), NPRT(res->res_job.RegexWhere));
       }
-      if (res->res_job.stats_enabled) {
-           sendit(sock, _("  --> StatsEnabled=%d\n"), res->res_job.stats_enabled);
-      }
       if (res->res_job.RestoreBootstrap) {
          sendit(sock, _("  --> Bootstrap=%s\n"), NPRT(res->res_job.RestoreBootstrap));
       }