cifs: fix uninitialized warning in check_connection
otherwise this spams the log when check_connection runs into a timeout.
This commit is contained in:
committed by
Fabian Grünbichler
parent
20cc2c38a4
commit
840e3797a5
@ -218,7 +218,8 @@ sub check_connection {
|
|||||||
};
|
};
|
||||||
|
|
||||||
if (my $err = $@) {
|
if (my $err = $@) {
|
||||||
die "$out_str\n" if ($out_str =~ m/NT_STATUS_ACCESS_DENIED/);
|
die "$out_str\n" if defined($out_str) &&
|
||||||
|
($out_str =~ m/NT_STATUS_ACCESS_DENIED/);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user