mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-27 18:43:45 +01:00
vncserver: refactor
This commit is contained in:
parent
fe3569c6e8
commit
3b3c8d0881
@ -554,10 +554,10 @@ sub CheckUserHasSslCertGroupOnDebian {
|
|||||||
|
|
||||||
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