From: Johannes Sixt Date: Mon, 6 Jun 2011 06:59:10 +0000 (+0200) Subject: sh-i18n--envsubst: do not crash when no arguments are given X-Git-Tag: v1.7.7-rc0~118^2~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8c92516f2dae4778e2b5a41196f7409823283e4b;p=git.git sh-i18n--envsubst: do not crash when no arguments are given Signed-off-by: Johannes Sixt Signed-off-by: Junio C Hamano --- diff --git a/sh-i18n--envsubst.c b/sh-i18n--envsubst.c index 71250930d..81049739b 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 ();