Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Commit

Permalink
fix uuid/uuidgen
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl authored Nov 3, 2023
1 parent 7caee71 commit 54d0e35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cht-petals/setup-petals.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Usage: setup-petals.sh [--model-path=<DIR>] [--dht-prefix=<PREFIX>] [--port=<INT>]
set -eEuo pipefail

tmpdir="${PREM_APPDIR:-.}/petals-$(uuidgen)"
tmpdir="${PREM_APPDIR:-.}/petals-$(uuidgen 2>/dev/null || uuid)"

cleanup(){
for i in $(jobs -p); do
Expand Down

0 comments on commit 54d0e35

Please sign in to comment.