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: https://git.lorimer.id.au/gitweb.git/diff_plain/8c92516f2dae4778e2b5a41196f7409823283e4b?ds=inline;hp=--cc sh-i18n--envsubst: do not crash when no arguments are given Signed-off-by: Johannes Sixt Signed-off-by: Junio C Hamano --- 8c92516f2dae4778e2b5a41196f7409823283e4b 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 ();