From: Kern Sibbald Date: Mon, 14 Feb 2011 17:29:07 +0000 (+0100) Subject: Make hangup single shot X-Git-Tag: Release-7.0.0~1130 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9fb3b8888fb806fce83aba206b7ee4cb7d46f47d;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; }