mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 10:41:26 +00:00
scstadmin: Avoid that the Perl interpreter prints a warning message about using an undefined variable on Fedora systems
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5731 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -4708,6 +4708,9 @@ sub sessions {
|
||||
}
|
||||
} else {
|
||||
my $mode = (stat($pPath))[2];
|
||||
if (!$mode) {
|
||||
$mode = 0;
|
||||
}
|
||||
if (-d $pPath) {
|
||||
# Skip directories
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user