vncserver: refactor

KASM-1609_select_de_to_run
Dmitry Maksyoma 4 years ago
parent fa4308c542
commit 5f3fcddcde

@ -25,10 +25,8 @@
# vncserver - wrapper script to start an X VNC server. # vncserver - wrapper script to start an X VNC server.
# #
# First make sure we're operating in a sane environment.
$exedir = &DetectBinariesDir(); $exedir = &DetectBinariesDir();
&CheckRequiredDependenciesArePresent();
&SanityCheck();
# #
# Global variables. You may want to configure some of these for # Global variables. You may want to configure some of these for
@ -524,7 +522,7 @@ sub ParseOptionsAndRemoveMatchesFromARGV
# Routine to make sure we're operating in a sane environment. # Routine to make sure we're operating in a sane environment.
sub SanityCheck sub CheckRequiredDependenciesArePresent
{ {
local ($cmd); local ($cmd);

Loading…
Cancel
Save