summaryrefslogtreecommitdiff
path: root/sh-i18n--envsubst.c
diff options
context:
space:
mode:
authorJohannes Sixt <j6t@kdbg.org>2011-06-06 06:59:10 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-06-06 18:35:00 (GMT)
commit8c92516f2dae4778e2b5a41196f7409823283e4b (patch)
tree013c75d9f232f62a6859efa06bdc22edceb0de6e /sh-i18n--envsubst.c
parentadc3b2b27670f123bd7dd742ba0fa0e0a60e1b19 (diff)
downloadgit-8c92516f2dae4778e2b5a41196f7409823283e4b.zip
git-8c92516f2dae4778e2b5a41196f7409823283e4b.tar.gz
git-8c92516f2dae4778e2b5a41196f7409823283e4b.tar.bz2
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 7125093..8104973 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 ();