Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed bug checking number of arguments

  • Loading branch information...
commit 2dd1e7e3d4275923e7a7de9c1bfd524a8c51a9ca 1 parent fd5a8b0
@ctasada authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 bin/voldemort-server.bat
View
4 bin/voldemort-server.bat
@@ -16,7 +16,9 @@ REM See the License for the specific language governing permissions and
REM limitations under the License.
REM
-if "%2" == "" goto :continue
+set Count=0
+for %%a in (%*) do set /a Count+=1
+if %Count% geq 2 goto :continue
echo USAGE: bin/voldemort-server.bat [voldemort_home] [voldemort_config_dir]
goto :eof
:continue
Please sign in to comment.
Something went wrong with that request. Please try again.