aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2015-05-10 15:19:48 +0200
committerChristoph Lohmann <20h@r-36.net>2015-05-10 15:19:48 +0200
commit980991fa6e7b737d54f8e5c60c26275890eb28ff (patch)
tree1bea33259c803f3ab4a34424d993cffb748ed12f
parentae1923d27533ff46400d93765e971558201ca1ee (diff)
Fix the new -e handling. An empty cmd has to work for backwards compatibility.
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index c2da66b..55a5c56 100644
--- a/st.c
+++ b/st.c
@@ -4010,7 +4010,7 @@ main(int argc, char *argv[]) {
opt_class = EARGF(usage());
break;
case 'e':
- if(argc > 1)
+ if(argc > 0)
--argc, ++argv;
goto run;
case 'f':