Skip to content

Ghidra is a software reverse engineering (SRE) framework

GT-2874 corrected severe error in svrAdmin.bat preventing its' use for Windows install of Ghidra Server

ghidra1e1e29925939f
diff --git a/Ghidra/RuntimeScripts/Windows/server/svrAdmin.bat b/Ghidra/RuntimeScripts/Windows/server/svrAdmin.bat
index 66864b84c9..d323aad366 100644
--- a/Ghidra/RuntimeScripts/Windows/server/svrAdmin.bat
+++ b/Ghidra/RuntimeScripts/Windows/server/svrAdmin.bat
@@ -35,7 +35,7 @@ set SCRIPT_DIR=%~dp0
:: Production Environment
set CONFIG=%SCRIPT_DIR%.\server.conf
-if exist "%GHIDRA_DIR%" goto continue
+if exist "%CONFIG%" goto continue
:: Development Environment
set CONFIG=%SCRIPT_DIR%..\..\Common\server\server.conf