vncserver: fix heredoc to work on CentOS

This commit is contained in:
Dmitry Maksyoma 2021-10-28 22:55:56 +13:00
parent bc2e2512e3
commit 8cd49ebbf8

View File

@ -567,10 +567,10 @@ sub CheckUserHasAccessToDefaultCertOnDebian {
my $certGroup = 'ssl-cert'; my $certGroup = 'ssl-cert';
if (system("groups | grep -qw $certGroup") != 0) { if (system("groups | grep -qw $certGroup") != 0) {
say <<~EOF; say <<EOF;
Can't access TLS certificate. Can't access TLS certificate.
Please add your user to $certGroup via 'addgroup <user> $certGroup' Please add your user to $certGroup via 'addgroup <user> $certGroup'
EOF EOF
exit(1); exit(1);
} }
} }