sh-i18n--envsubst: do not crash when no arguments are given
authorJohannes Sixt <j6t@kdbg.org>
Mon, 6 Jun 2011 06:59:10 +0000 (08:59 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 6 Jun 2011 18:35:00 +0000 (11:35 -0700)
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sh-i18n--envsubst.c

index 7125093..8104973 100644 (file)
@@ -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 ();