]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/dev.c
Merge branch 'master' into basejobv3
[bacula/bacula] / bacula / src / stored / dev.c
index f6db91c261bdb8f72a447e94ee17206f5ea76d7d..36b03d92362acb2f9227f3afbbbab459d7b3a259 100644 (file)
@@ -2164,7 +2164,7 @@ bool DEVICE::do_tape_mount(int mount, int dotimeout)
       /* Try at most 10 times to (un)mount the device. This should perhaps be configurable. */
       tries = 10;
    } else {
-      tries = 0;
+      tries = 1;
    }
    results = get_memory(4000);
 
@@ -2222,7 +2222,7 @@ bool DEVICE::do_file_mount(int mount, int dotimeout)
       /* Try at most 10 times to (un)mount the device. This should perhaps be configurable. */
       tries = 10;
    } else {
-      tries = 0;
+      tries = 1;
    }
    results = get_memory(4000);