Skip to content

Commit

Permalink
Merge pull request #473 from bareos/dev/fbergkemper/bareos-19.2/fix-d…
Browse files Browse the repository at this point in the history
…rive-index-default

core: fix default drive and drive index value (Backport 19.2)
  • Loading branch information
fbergkemper committed Apr 3, 2020
2 parents 968f36b + 60e7731 commit aa8a359
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/stored/device_resource.cc
Expand Up @@ -45,8 +45,8 @@ DeviceResource::DeviceResource()
, query_crypto_status(false)
, collectstats(false)
, eof_on_error_is_eot(false)
, drive(-1)
, drive_index(-1)
, drive(0)
, drive_index(0)
, cap_bits{0}
, max_changer_wait(300)
, max_rewind_wait(300)
Expand Down

0 comments on commit aa8a359

Please sign in to comment.