(execute): Fix botched test for empty argument.
This commit is contained in:
parent
0c19d70c74
commit
13797a2ba2
1 changed files with 1 additions and 1 deletions
|
@ -317,7 +317,7 @@ execute(void)
|
|||
|
||||
p = getstarg(player->argp[1], "File? ", buf);
|
||||
|
||||
if (p == (s_char *)0 || p == '\0')
|
||||
if (p == (s_char *)0 || *p == '\0')
|
||||
return RET_SYN;
|
||||
|
||||
prexec(player->argp[1]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue