mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
Fix exec example (#341)
This commit is contained in:
parent
db6152e21d
commit
0f035119b1
1 changed files with 1 additions and 1 deletions
|
@ -16,6 +16,6 @@ int main(int argc, char *argv[]) {
|
|||
fputs("USAGE: EXEC.COM PROG ARGV₀ [ARGV₁...]\n", stderr);
|
||||
return 1;
|
||||
}
|
||||
execv(argv[1], argv + 2);
|
||||
execv(argv[1], argv + 1);
|
||||
return 127;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue