fix(vars): vars_default var name $$ -> $
This commit is contained in:
parent
b443cd1876
commit
868b1cae17
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ void vars_default(struct hash_map *vars)
|
||||||
pid_t pid = getpid();
|
pid_t pid = getpid();
|
||||||
char pid_str[20];
|
char pid_str[20];
|
||||||
snprintf(pid_str, sizeof(pid_str), "%d", pid);
|
snprintf(pid_str, sizeof(pid_str), "%d", pid);
|
||||||
set_var_copy(vars, "$$", pid_str);
|
set_var_copy(vars, "$", pid_str);
|
||||||
}
|
}
|
||||||
|
|
||||||
short short_random(void)
|
short short_random(void)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue