mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-01-21 05:18:50 +01:00
vncserver: fix heredoc to work on CentOS
This commit is contained in:
parent
bc2e2512e3
commit
8cd49ebbf8
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user