mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 20:51:27 +00:00
scstadmin: Fix scstadmin -list_sessions error msg in out cmd
In out of "scstadmin -list_sessions" cmd occurs error "Use of uninitialized value in numeric lt (<) at /usr/local/sbin/scstadmin line 3679".
This commit is contained in:
committed by
Gleb Chesnokov
parent
f265dc450f
commit
297034d884
@@ -3683,7 +3683,7 @@ sub listAttributes {
|
||||
|
||||
next;
|
||||
}
|
||||
$l_value = length($value) if ($l_value < length($value));
|
||||
$l_value = length($value) if (defined($value) && $l_value < length($value));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user