fixed bash less than in if statement

This commit is contained in:
Bryan Joshua Pedini 2022-09-20 09:49:23 +02:00
parent 0d7266ce35
commit ce7e2593f4

View File

@ -16,7 +16,7 @@ if [ -f "${DEPLOY_DESTINATION_FILE}" ]; then
fi
# Check if the correct usage is respected
if [ $# -le 2 ]; then
if [ $# -lt 2 ]; then
echo "Usage: $0 <service> <service name> [branch/tag]"
echo
echo "Current settings:"