From 8a9fd18228f7f381996633bac93d23e78dfb7190 Mon Sep 17 00:00:00 2001 From: Dmitry Maksyoma Date: Thu, 23 Feb 2023 07:40:00 +1300 Subject: [PATCH] vncserver: die without printing source code line --- unix/KasmVNC/Config.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unix/KasmVNC/Config.pm b/unix/KasmVNC/Config.pm index d194c78..78d49d3 100644 --- a/unix/KasmVNC/Config.pm +++ b/unix/KasmVNC/Config.pm @@ -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];