not set ret to MODE_RUN initially
This commit is contained in:
2
sudo.c
2
sudo.c
@@ -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)
|
||||||
|
Reference in New Issue
Block a user