From: Kern Sibbald Date: Tue, 21 Jun 2005 07:51:31 +0000 (+0000) Subject: Mark DVD volume in error if not opened X-Git-Tag: Release-7.0.0~8675 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=25d2ed40dcaf6c93183c86edbb1cc0d79ef82224;p=bacula%2Fbacula Mark DVD volume in error if not opened git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2156 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/stored/mount.c b/bacula/src/stored/mount.c index 3fc68246b0..9ecbf991f8 100644 --- a/bacula/src/stored/mount.c +++ b/bacula/src/stored/mount.c @@ -261,6 +261,7 @@ read_volume: case VOL_IO_ERROR: if (dev->is_dvd()) { Jmsg(jcr, M_FATAL, 0, "%s", jcr->errmsg); + mark_volume_in_error(dcr); return false; /* we could not write on DVD */ } /* Fall through wanted */