From: Kern Sibbald Date: Sat, 14 Jul 2018 17:19:54 +0000 (+0200) Subject: Tweak make alignment same as Enterprise X-Git-Tag: Release-9.2.0~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=884eab04e4f998bab5d93a34bceed3dec72a7295;p=thirdparty%2Fbacula.git Tweak make alignment same as Enterprise --- diff --git a/bacula/src/dird/ua_cmds.c b/bacula/src/dird/ua_cmds.c index 8022f8737..51052e36c 100644 --- a/bacula/src/dird/ua_cmds.c +++ b/bacula/src/dird/ua_cmds.c @@ -1804,8 +1804,10 @@ static void do_storage_cmd(UAContext *ua, const char *command) pm_strcpy(store.store_source, _("unknown source")); set_wstorage(jcr, &store); drive = get_storage_drive(ua, store.store); - /* For the disable/enable command, the slot is not mandatory */ - if (strcasecmp(command, "disable") == 0 || strcasecmp(command, "enable") == 0) { + /* For the disable/enable/unmount commands, the slot is not mandatory */ + if (strcasecmp(command, "disable") == 0 || + strcasecmp(command, "enable") == 0 || + strcasecmp(command, "unmount") == 0) { slot = 0; } else { slot = get_storage_slot(ua, store.store);