summaryrefslogtreecommitdiff
path: root/util/autoport/root.go
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-27 03:20:18 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-27 03:20:18 +0100
commit44fb9873639301988b2a99e246243a83cc4fe1e2 (patch)
tree6a43631c46ad83f896cb399c12c785ca0bf258c0 /util/autoport/root.go
parentfac74cd60a3d90e6e0df971b481a55b0a01050c4 (diff)
build: don't rm TMPDIR if it's /tmp
we override TMPDIR, setting it to /tmp/xbmk*C if it's just set to tmp, that means we didn't set it properly, which is a bug. this patch protects against deletion of /tmp under such a fault condition, if it were ever to occur in the future. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/autoport/root.go')
0 files changed, 0 insertions, 0 deletions