summaryrefslogtreecommitdiff
path: root/sh-i18n--envsubst.c
diff options
context:
space:
mode:
authorJohannes Sixt <j6t@kdbg.org>2011-06-06 08:59:10 +0200
committerJunio C Hamano <gitster@pobox.com>2011-06-06 11:35:00 -0700
commit8c92516f2dae4778e2b5a41196f7409823283e4b (patch)
tree013c75d9f232f62a6859efa06bdc22edceb0de6e /sh-i18n--envsubst.c
parentadc3b2b27670f123bd7dd742ba0fa0e0a60e1b19 (diff)
downloadgit-8c92516f2dae4778e2b5a41196f7409823283e4b.tar.gz
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>
Diffstat (limited to 'sh-i18n--envsubst.c')
-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 ();