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>
Johannes Sixt committed
Jun 6, 2011 at 08:59 UTC
8c92516f2dae4778e2b5a41196f7409823283e4b
1 file changed
+1
sh-i18n--envsubst.c
+1
@@ -74,6 +74,7 @@ main (int argc, char *argv[])
74
{
75
case 1:
76
error ("we won't substitute all variables on stdin for you");
77
+ break;
78
/*
79
all_variables = 1;
80
subst_from_stdin ();