From: Kern Sibbald Date: Thu, 3 Aug 2017 19:15:08 +0000 (+0200) Subject: Fix bug #2300 mount/unmount/release of single tape drive does not work X-Git-Tag: Release-9.0.3~12 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7e050a8fb9083f1375d27d4f006d2d02674fcf3d;p=bacula%2Fbacula Fix bug #2300 mount/unmount/release of single tape drive does not work --- diff --git a/bacula/src/dird/ua_cmds.c b/bacula/src/dird/ua_cmds.c index 9f2a832421..d710c236eb 100644 --- a/bacula/src/dird/ua_cmds.c +++ b/bacula/src/dird/ua_cmds.c @@ -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);