mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2026-01-05 21:31:18 +00:00
Don't force location of tmp
(Logical change 1.14)
This commit is contained in:
parent
253d67432e
commit
c0076e70b1
@ -639,7 +639,7 @@ int main(int argc, char *argv[])
|
||||
if (getenv("IFSTAT_HISTORY"))
|
||||
snprintf(hist_name, sizeof(hist_name), getenv("IFSTAT_HISTORY"));
|
||||
else
|
||||
sprintf(hist_name, "/tmp/.ifstat.u%d", getuid());
|
||||
sprintf(hist_name, "%s/.ifstat.u%d", P_tmpdir, getuid());
|
||||
|
||||
if (reset_history)
|
||||
unlink(hist_name);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user