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