Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
sh-i18n--envsubst: do not crash when no arguments are given
[gitweb.git]
/
sh-i18n--envsubst.c
diff --git
a/sh-i18n--envsubst.c
b/sh-i18n--envsubst.c
index 71250930dba09fbc6b1b638230cfa30253915a26..81049739b6e9a37e3e745fb0666b2965ad09225e 100644
(file)
--- a/
sh-i18n--envsubst.c
+++ b/
sh-i18n--envsubst.c
@@
-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 ();