Code

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 71250930dba09fbc6b1b638230cfa30253915a26..81049739b6e9a37e3e745fb0666b2965ad09225e 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 ();