elviss hace 2 años
padre
commit
31f2df74ce
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/WscriptShell.php

+ 2 - 1
src/WscriptShell.php

@@ -480,10 +480,11 @@ class WinService extends WscriptShell
 		$cmd = "{$path} --install {$name}";
 		$code = self::Run($cmd,0,1);
 		if($code === 0){
-			logError('failed to install mysql service.',$name,$path);
+			logError('succeeded to install mysql service.',$name,$path);
 			return true;
 		}
 		else{
+			logError('failed to install mysql service.',$code,$name,$path);
 			return false;
 		}
 	}