Skip to content

Commit

Permalink
Do not exit
Browse files Browse the repository at this point in the history
raoulh committed Mar 11, 2024
1 parent 5ecac70 commit b2b1d87
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/pull_calaos_image
Original file line number Diff line number Diff line change
@@ -35,9 +35,8 @@ fi

#check if $SERVICE_NAME is a valid service
if ! systemctl list-units --type=service | grep -q "$SERVICE_NAME"; then
echo "Service $SERVICE_NAME does not exist."
echo "Service $SERVICE_NAME not running"
unset SERVICE_NAME
exit 1
fi

echo " > Pulling new image $IMAGE_SRC"

0 comments on commit b2b1d87

Please sign in to comment.