Skip to content

Commit

Permalink
Fixing linter errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
david-i-berry committed Aug 19, 2024
1 parent 34451f4 commit d5671e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if [ ! -f "$DOWNLOAD_DIR/.session-info.json" ]; then
echo ' "topics": {},' >> "$DOWNLOAD_DIR/.session-info.json"
# generate a random string for client_id
echo "Generating random client_id"
client_id=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
client_id=$(tr -dc 'a-zA-Z0-9' < /dev/urandom | fold -w 32 | head -n 1)
echo " \"client_id\": \"wis2box-wis2downloader-${client_id}\"" >> "$DOWNLOAD_DIR/.session-info.json"
echo "}" >> "$DOWNLOAD_DIR/.session-info.json"
fi
Expand Down

0 comments on commit d5671e5

Please sign in to comment.