diff --git a/scstadmin/scstadmin.sysfs/scstadmin b/scstadmin/scstadmin.sysfs/scstadmin index 93f953162..c64f965ee 100755 --- a/scstadmin/scstadmin.sysfs/scstadmin +++ b/scstadmin/scstadmin.sysfs/scstadmin @@ -5881,7 +5881,11 @@ sub cacheAttributes { } } else { my $value = $$attributes{$attribute}->{'value'}; - $cache{$attribute}->{$value} = FALSE; + # Write-only attributes (e.g. abort_isp) do not have + # a value. + if (defined($value)) { + $cache{$attribute}->{$value} = FALSE; + } } }