Skip to content

Commit

Permalink
fix: escape ret_code in setup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
aleneum committed Dec 11, 2024
1 parent 6d5ffe9 commit ba4711b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ function hive_cli() {
-e GID=\${SOCKET_GID} \\
ghcr.io/caretech-owl/hive-cli
res_code=$?
echo "Exited with code ${res_code}"
if [ ${res_code} -eq 3 ]; then
echo "Exited with code \${res_code}"
if [ \${res_code} -eq 3 ]; then
echo "Restarting hive-cli ..."
hive_cli
else
Expand Down

0 comments on commit ba4711b

Please sign in to comment.