mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-19 03:31:26 +00:00
Merge branch 'svn-trunk'
This commit is contained in:
@@ -4751,8 +4751,7 @@ sub closeDevice {
|
||||
my ($attributes, $errorString) = $SCST->deviceAttributes($device);
|
||||
|
||||
if (!$force) {
|
||||
if (keys %{$$attributes{'exported'}} &&
|
||||
$$attributes{'exported'}->{'value'}) {
|
||||
if (keys %{$$attributes{'exported'}}) {
|
||||
listExported($device, $attributes);
|
||||
immediateExit("Device '$device' still in use, aborting. ".
|
||||
"Use -force to override.");
|
||||
|
||||
Reference in New Issue
Block a user