Skip to content

Commit c8796e3

Browse files
committed
chore: was missing KEY_FILE var in script
1 parent 6226d61 commit c8796e3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

nix/tests/util/pgsodium_getkey.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
set -euo pipefail
44

5+
KEY_FILE="${1:-/tmp/pgsodium.key}"
6+
57
if [[ ! -f "$KEY_FILE" ]]; then
68
head -c 32 /dev/urandom | od -A n -t x1 | tr -d ' \n' > "$KEY_FILE"
79
fi
8-
cat $KEY_FILE
10+
cat $KEY_FILE

0 commit comments

Comments
 (0)