mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-30 17:22:27 +00:00
clang-format
This commit is contained in:
parent
c60b150fcf
commit
c0eacf2eb1
1 changed files with 1 additions and 2 deletions
|
@ -224,8 +224,7 @@ static inline void InitProgramExecutableNameImpl(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// try argv[0], then argv[0].com, then $_, then $_.com.
|
// try argv[0], then argv[0].com, then $_, then $_.com.
|
||||||
if (TryPath(__argv[0], 1) ||
|
if (TryPath(__argv[0], 1) || TryPath(__getenv(__envp, "_").s, 1)) {
|
||||||
TryPath(__getenv(__envp, "_").s, 1)) {
|
|
||||||
goto UseBuf;
|
goto UseBuf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue