From: Johannes Sixt Date: Mon, 06 Jun 2011 06:59:10 GMT Subject: [PATCH 1/3] sh-i18n--envsubst: do not crash when no arguments are given Message-ID: <4DEC7ABE.6070000@viscovery.net> In-Reply-To: <4DEC7A65.7020207@viscovery.net> From: Johannes Sixt Signed-off-by: Johannes Sixt --- sh-i18n--envsubst.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/sh-i18n--envsubst.c b/sh-i18n--envsubst.c index 2eb0ee4..47a306f 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 (); -- 1.7.6.rc0.1186.gfb4fd