From 1856c4197ba52ad08918bd46773bc2e4fff53bac Mon Sep 17 00:00:00 2001 From: Marco van Wieringen Date: Wed, 10 Jul 2013 20:04:30 +0200 Subject: [PATCH] Fix debugging output and print the right info. We are printing the stuff we send to the SD not what we got back. --- src/filed/dir_cmd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/filed/dir_cmd.c b/src/filed/dir_cmd.c index a48394842be..ff827aa8a79 100644 --- a/src/filed/dir_cmd.c +++ b/src/filed/dir_cmd.c @@ -1484,10 +1484,11 @@ static bool backup_cmd(JCR *jcr) /** * Expect to get OK data */ - Dmsg1(110, "msg); if (!response(jcr, sd, OK_data, "Append Data")) { + Dmsg1(110, "msg); goto cleanup; } + Dmsg1(110, "msg); generate_plugin_event(jcr, bEventStartBackupJob);