Imported Upstream version 2.6.1p2
[debian/amanda] / client-src / sendbackup.c
index 6ca2787375d5588f61032d5b5341acdd8f09b025..44caf87fcc90cae8e1577ee7dba21bf32b4eb602 100644 (file)
@@ -431,6 +431,10 @@ main(
     if(am_has_feature(g_options->features, fe_rep_options_hostname)) {
        g_printf("hostname=%s;", g_options->hostname);
     }
+    if (!am_has_feature(g_options->features, fe_rep_options_features) &&
+       !am_has_feature(g_options->features, fe_rep_options_hostname)) {
+       g_printf(";");
+    }
     g_printf("\n");
     fflush(stdout);
     if (freopen("/dev/null", "w", stdout) == NULL) {
@@ -501,12 +505,11 @@ main(
            comppid = pipespawn(COMPRESS_PATH, STDIN_PIPE, 0,
                                &dumpout, &compout, &mesgfd,
                                COMPRESS_PATH, compopt, NULL);
-           dbprintf(_("gnutar: pid %ld: %s"), (long)comppid, COMPRESS_PATH);
            if(compopt != skip_argument) {
-               dbprintf(_("pid %ld: %s %s\n"),
+               dbprintf(_("compress pid %ld: %s %s\n"),
                         (long)comppid, COMPRESS_PATH, compopt);
            } else {
-               dbprintf(_("pid %ld: %s\n"), (long)comppid, COMPRESS_PATH);
+               dbprintf(_("compress pid %ld: %s\n"), (long)comppid, COMPRESS_PATH);
            }
        } else if (dle->compress == COMP_CUST) {
            compopt = skip_argument;