Don't show "1 file(s) moved" when moving the temporary wrapper.conf in place. Redirect output to nul.

This commit is contained in:
kytv
2011-09-17 22:12:40 +00:00
parent c7385e5e6a
commit 93d3710f51

View File

@ -6,7 +6,7 @@ set _WRAPPER_CONF="%_REALPATH%wrapper.config"
cd /d %~dp0
if "%1"=="uninstall" (
FINDSTR /I /v "^wrapper.java.additional.5=-Di2p.dir.config=" %_WRAPPER_CONF% >> %_WRAPPER_CONF%.new
move %_WRAPPER_CONF%.new %_WRAPPER_CONF%
move %_WRAPPER_CONF%.new %_WRAPPER_CONF% >nul
goto end
) else (
FINDSTR /I "^wrapper.java.additional.5=-Di2p.dir.config=" %_WRAPPER_CONF%