vncserver: better test env detection

This commit is contained in:
Dmitry Maksyoma 2021-07-28 22:01:45 +12:00
parent 7c28908722
commit 53c545a9ad

View File

@ -31,7 +31,7 @@ $slashndx = rindex($0, "/");
if($slashndx>=0) {
$exedir = substr($0, 0, $slashndx+1);
}
if ($exedir =~ m!^unix/!) {
if ($exedir =~ m!unix/!) {
$exedir = "/usr/bin/";
}