Skip to content

Commit

Permalink
Merge pull request #472 from bareos/dev/fbergkemper/master/fix-drive-…
Browse files Browse the repository at this point in the history
…index-default

core: fix default drive and drive index value
  • Loading branch information
fbergkemper committed Apr 3, 2020
2 parents 0577bcf + e8a4e86 commit 1d80d38
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 1d80d38

Please sign in to comment.