Subject: [PATCH 1/3] sh-i18n--envsubst: do not crash when no arguments are given

From: Johannes Sixt <[email-masked]>
Date: Mon, 06 Jun 2011 08:59:10 +0200

From: Johannes Sixt <[email-masked]>

Signed-off-by: Johannes Sixt <[email-masked]>
---
 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