make ARGS optional in nobotgate-access
This commit is contained in:
parent
ae52963abe
commit
97d527bd21
1 changed files with 2 additions and 2 deletions
|
|
@ -42,6 +42,6 @@ int main(int argc, char **argv)
|
|||
"\r\n";
|
||||
if (write(1, header, str_len(header)) < 0)
|
||||
diesys(111, "write to stdout");
|
||||
execvp(argv[1], argv+1);
|
||||
diesys(111, "exec ", argv[1]);
|
||||
execvp(argv[0], argv);
|
||||
diesys(111, "exec ", argv[0]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue