]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/dird/ua_cmds.c
Fix bug #2300 mount/unmount/release of single tape drive does not work
[bacula/bacula] / bacula / src / dird / ua_cmds.c
index 9f2a8324214d84ab12fca78f9bec961f72f87f2c..d710c236eb8f7fa7b7c21eeb49d8c3c323f6cf64 100644 (file)
@@ -1743,9 +1743,6 @@ static void do_storage_cmd(UAContext *ua, const char *command)
    } else {
       slot = get_storage_slot(ua, store.store);
    }
-   if (slot < 0) {
-      return;
-   }
    /* Users may set a device name directly on the command line */
    if ((i = find_arg_with_value(ua, "device")) > 0) {
       POOLMEM *errmsg = get_pool_memory(PM_NAME);