Explorar o código

Fix the new -e handling. An empty cmd has to work for backwards compatibility.

Christoph Lohmann %!s(int64=9) %!d(string=hai) anos
pai
achega
980991fa6e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      st.c

+ 1 - 1
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':