From: Kern Sibbald Date: Mon, 14 Feb 2011 17:29:07 +0000 (+0100) Subject: Make hangup single shot X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dbc2c7f30da831ec0e06a098bdba044ae41e8217;p=bacula%2Fbacula Make hangup single shot --- diff --git a/bacula/src/filed/backup.c b/bacula/src/filed/backup.c index 2eddbe8ebc..e1366f8e8d 100644 --- a/bacula/src/filed/backup.c +++ b/bacula/src/filed/backup.c @@ -1153,6 +1153,7 @@ bool encode_and_send_attributes(JCR *jcr, FF_PKT *ff_pkt, int &data_stream) if (hangup && (jcr->JobFiles > (uint32_t)hangup)) { jcr->setJobStatus(JS_Incomplete); Jmsg1(jcr, M_FATAL, 0, "Debug hangup requested after %d files.\n", hangup); + set_hangup(0); return false; }