mirror of https://github.com/status-im/consul.git
15 lines
293 B
Batchfile
15 lines
293 B
Batchfile
@echo off
|
|
|
|
setlocal
|
|
|
|
if not exist %1\consul\state_store.go exit /B 1
|
|
if not exist %1\consul\fsm.go exit /B 1
|
|
|
|
findstr /R generateUUID %1\consul\state_store.go 1>nul
|
|
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
|