mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-01-23 06:18:59 +01:00
vncserver: refactor
This commit is contained in:
parent
17fa6911c1
commit
606075ddc0
@ -544,14 +544,14 @@ sub CheckRequiredDependenciesArePresent
|
|||||||
$SOCK_STREAM = &SOCK_STREAM;
|
$SOCK_STREAM = &SOCK_STREAM;
|
||||||
}
|
}
|
||||||
|
|
||||||
&CheckUserHasSslCertGroupOnDebian();
|
&CheckUserHasAccessToDefaultCertOnDebian();
|
||||||
}
|
}
|
||||||
|
|
||||||
sub IsDebian {
|
sub IsDebian {
|
||||||
return -f "/etc/debian_version";
|
return -f "/etc/debian_version";
|
||||||
}
|
}
|
||||||
|
|
||||||
sub CheckUserHasSslCertGroupOnDebian {
|
sub CheckUserHasAccessToDefaultCertOnDebian {
|
||||||
if (!&IsDebian()) {
|
if (!&IsDebian()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user