]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
cloud: Always handle S3 driver in the device initialization
authorEric Bollengier <eric@baculasystems.com>
Thu, 4 Jun 2020 13:48:01 +0000 (15:48 +0200)
committerEric Bollengier <eric@baculasystems.com>
Tue, 1 Mar 2022 14:36:16 +0000 (15:36 +0100)
bacula/src/stored/cloud_dev.c

index 2ddef8f139e6871fbe06f2a6fded30224bcef910..465c6e8e48ac78f112ca4eacc69f25d1bec32089 100644 (file)
@@ -932,11 +932,9 @@ cloud_dev::cloud_dev(JCR *jcr, DEVRES *device)
    /* Initialize Cloud driver */
    if (!driver) {
       switch (device->cloud->driver_type) {
-#ifdef HAVE_LIBS3
       case C_S3_DRIVER:
          driver = load_driver(jcr, C_S3_DRIVER);
          break;
-#endif
       case C_WAS_DRIVER:
       {
          if (!device->cloud->driver_command) {