mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
scstadmin: Revert r7310 because it was reported not to fix the issue it should have fixed
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7319 d57e44dd-8a1f-0410-8b47-8ef2f437770f
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