2015-01-24 22:58:04 +00:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
setlocal
|
|
|
|
|
2015-10-13 07:36:11 +00:00
|
|
|
if not exist %1\consul\state\state_store.go exit /B 1
|
2015-01-24 22:58:04 +00:00
|
|
|
if not exist %1\consul\fsm.go exit /B 1
|
|
|
|
|
2015-10-13 07:36:11 +00:00
|
|
|
findstr /R generateUUID %1\consul\state\state_store.go 1>nul
|
2015-01-24 22:58:04 +00:00
|
|
|
if not %ERRORLEVEL% EQU 1 exit /B 1
|
|
|
|
|
|
|
|
findstr generateUUID %1\consul\fsm.go 1>nul
|
|
|
|
if not %ERRORLEVEL% EQU 1 exit /B 1
|
|
|
|
|
|
|
|
exit /B 0
|