not set ret to MODE_RUN initially

This commit is contained in:
Todd C. Miller
1994-08-05 20:14:59 +00:00
parent 494d1c1168
commit ee50a4661e

2
sudo.c
View File

@@ -309,7 +309,7 @@ static int parse_args()
{ {
int opt_ch; int opt_ch;
int V_flag=0, h_flag=0, v_flag=0, k_flag=0, error=0; int V_flag=0, h_flag=0, v_flag=0, k_flag=0, error=0;
int ret; int ret=MODE_RUN;
/* no options and no command */ /* no options and no command */
if (Argc < 2) if (Argc < 2)