From 25d2ed40dcaf6c93183c86edbb1cc0d79ef82224 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Tue, 21 Jun 2005 07:51:31 +0000 Subject: [PATCH] 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 --- bacula/src/stored/mount.c | 1 + 1 file changed, 1 insertion(+) 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 */ -- 2.39.5