]> git.sur5r.net Git - bacula/bacula/commitdiff
Ensure SD asks for help when looping even if poll set. Fixes bug #1513
authorKern Sibbald <kern@sibbald.com>
Tue, 23 Feb 2010 09:19:16 +0000 (10:19 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:49:34 +0000 (16:49 +0200)
bacula/src/stored/mount.c

index 6e8fabaab455ef293b98b52977ddca536eed3b9f..d2bd8aedaf1e589e5f325782b107b596f68c7f5d 100644 (file)
@@ -88,7 +88,7 @@ bool DCR::mount_next_write_volume()
 mount_next_vol:
    Dmsg1(150, "mount_next_vol retry=%d\n", retry);
    /* Ignore retry if this is poll request */
-   if (!dev->poll && retry++ > 4) {
+   if (retry++ > 4) {
       /* Last ditch effort before giving up, force operator to respond */
       VolCatInfo.Slot = 0;
       unlock_volumes();