mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-21 23:05:59 +01:00
Fix the new -e handling. An empty cmd has to work for backwards compatibility.
This commit is contained in:
parent
ae1923d275
commit
980991fa6e
1 changed files with 1 additions and 1 deletions
2
st.c
2
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':
|
||||
|
|
Loading…
Reference in a new issue