summaryrefslogtreecommitdiff
path: root/src/platform/freebsd.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/platform/freebsd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform/freebsd.sh b/src/platform/freebsd.sh
index b3a4136..199742a 100644
--- a/src/platform/freebsd.sh
+++ b/src/platform/freebsd.sh
@@ -2,7 +2,7 @@
# This file is licensed under the GPLv2+. Please see COPYING for more information.
tmpdir() {
- ramdisk="/var/tmp/password-store.ramdisk"
+ local ramdisk="/var/tmp/password-store.ramdisk"
if [[ -d $ramdisk && -d $ramdisk && -d $ramdisk ]]; then
tmp_dir="$(TMPDIR=$ramdisk mktemp -t "$template" -d)"
else