vncserver: fix debug output

This commit is contained in:
Dmitry Maksyoma 2023-02-23 07:01:42 +13:00
parent 16bf937bfa
commit e5056eaeea

View File

@ -36,7 +36,7 @@ sub load {
$logger->debug("Loading config " . $self->{filename});
my $yamlDocuments = YAML::Tiny->read($self->{filename});
unless (defined $yamlDocuments) {
die "Couldn't load config: $self-{filename}. Probable reason: No newline at end of file";
die "Couldn't load config: $self->{filename}. Probable reason: No newline at end of file";
}
$self->{data} = $yamlDocuments->[0];