summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-05-03 07:05:38 +0100
committerLeah Rowe <leah@libreboot.org>2025-05-05 12:18:22 +0100
commitef3bda7d93c8eaa01f467a39af03a66321d98756 (patch)
tree8f923f7b2591f7c6220dbb2438e94969fd9e1940
parent980a1033e9ef2bffa9b1bf90708528e7e9e8d26f (diff)
init.sh: *Re-create* tmpdirs on parent instance
To make sure any old files are removed, always re-create. Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r--include/init.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/init.sh b/include/init.sh
index c4650576..3f813ea7 100644
--- a/include/init.sh
+++ b/include/init.sh
@@ -201,7 +201,7 @@ xbmk_create_tmpdir()
# /tmp might be a tmpfs, so for large files we use ./tmp,
# not to be confused with xbmktmp (xbmktmp points to /tmp)
- x_ mkdir -p "$xbmktmp" "$xbmklocal"
+ remkdir "$xbmktmp" "$xbmklocal"
}
xbmk_lock()