Skip to content

Commit

Permalink
sh-i18n--envsubst: do not crash when no arguments are given
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Johannes Sixt authored and Junio C Hamano committed Jun 6, 2011
1 parent adc3b2b commit 8c92516
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sh-i18n--envsubst.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 ();
Expand Down

0 comments on commit 8c92516

Please sign in to comment.