vncserver: refactor

This commit is contained in:
Dmitry Maksyoma 2021-09-17 03:39:40 +12:00
parent fe3569c6e8
commit 3b3c8d0881

View File

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