Skip to content

Commit

Permalink
Formatting entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rixhieloomis committed Mar 1, 2024
1 parent a3e940d commit dea3ce3
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
#!/bin/sh -l
set +x

# Print a message indicating the execution of sg-cli command
echo "Executing sg-cli command: $@"

# Execute sg-cli command
sg-cli $@

# Check the exit status of the previous command
if [ $? -eq 0 ]; then
# If the command was successful, print a success message
echo "Command executed successfully!"
else
# If the command failed, print an error message
echo "Error: Command execution failed!"
fi


0 comments on commit dea3ce3

Please sign in to comment.