mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-01-24 23:09:17 +01:00
vncserver: die without printing source code line
This commit is contained in:
parent
e5056eaeea
commit
8a9fd18228
@ -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\n";
|
||||
}
|
||||
|
||||
$self->{data} = $yamlDocuments->[0];
|
||||
|
Loading…
Reference in New Issue
Block a user