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>
This commit is contained in:
parent
adc3b2b276
commit
8c92516f2d
@ -74,6 +74,7 @@ main (int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
error ("we won't substitute all variables on stdin for you");
|
error ("we won't substitute all variables on stdin for you");
|
||||||
|
break;
|
||||||
/*
|
/*
|
||||||
all_variables = 1;
|
all_variables = 1;
|
||||||
subst_from_stdin ();
|
subst_from_stdin ();
|
||||||
|
Loading…
Reference in New Issue
Block a user