fix module detection on windows

This commit is contained in:
Kay Marquardt
2019-12-16 17:18:39 +01:00
committed by GitHub
parent f2fb64c2b0
commit 95c473d91f

View File

@@ -236,7 +236,7 @@ else {
if (!&has_command("process.exe")) {
&errorexit("The command process.exe must be installed to run Webmin on Windows");
}
if (! eval "use Win32::Daemon; 1") {
if (eval "use Win32::Daemon; 1") {
&errorexit("The Perl module Win32::Daemon must be installed to run Webmin on Windows");
}
}