summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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':