summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Johannes Sixt <j6t@kdbg.org>2011-06-06 08:59:10 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-06-06 11:35:00 -0700
commit8c92516f2dae4778e2b5a41196f7409823283e4b (patch)
tree013c75d9f232f62a6859efa06bdc22edceb0de6e
parentMakefile: add xgettext target for *.sh files (diff)
downloadtgif-8c92516f2dae4778e2b5a41196f7409823283e4b.tar.xz
sh-i18n--envsubst: do not crash when no arguments are given
Signed-off-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--sh-i18n--envsubst.c1
1 files changed, 1 insertions, 0 deletions
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 ();