X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=client-src%2Fsendbackup.c;h=44caf87fcc90cae8e1577ee7dba21bf32b4eb602;hb=96f35b20267e8b1a1c846d476f27fcd330e0b018;hp=6ca2787375d5588f61032d5b5341acdd8f09b025;hpb=d74dc4d908fcbc1a4ef474edaf51e61ec90eab6b;p=debian%2Famanda diff --git a/client-src/sendbackup.c b/client-src/sendbackup.c index 6ca2787..44caf87 100644 --- a/client-src/sendbackup.c +++ b/client-src/sendbackup.c @@ -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;