From 8c92516f2dae4778e2b5a41196f7409823283e4b Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Mon, 6 Jun 2011 08:59:10 +0200 Subject: [PATCH] sh-i18n--envsubst: do not crash when no arguments are given Signed-off-by: Johannes Sixt Signed-off-by: Junio C Hamano --- sh-i18n--envsubst.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sh-i18n--envsubst.c b/sh-i18n--envsubst.c index 71250930db..81049739b6 100644 --- a/sh-i18n--envsubst.c +++ b/sh-i18n--envsubst.c @@ -74,6 +74,7 @@ main (int argc, char *argv[]) { case 1: error ("we won't substitute all variables on stdin for you"); + break; /* all_variables = 1; subst_from_stdin (); -- 2.11.4.GIT