Skip to content

Commit

Permalink
Fix debugging output and print the right info.
Browse files Browse the repository at this point in the history
We are printing the stuff we send to the SD not what we got back.
  • Loading branch information
Marco van Wieringen committed Feb 17, 2015
1 parent 6280d60 commit 2c034bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/filed/dir_cmd.c
Expand Up @@ -1484,10 +1484,11 @@ static bool backup_cmd(JCR *jcr)
/**
* Expect to get OK data
*/
Dmsg1(110, "<stored: %s", sd->msg);
if (!response(jcr, sd, OK_data, "Append Data")) {
Dmsg1(110, "<stored: %s", sd->msg);
goto cleanup;
}
Dmsg1(110, "<stored: %s", sd->msg);

generate_plugin_event(jcr, bEventStartBackupJob);

Expand Down

0 comments on commit 2c034bd

Please sign in to comment.