diff --git a/octoprint_deploy.sh b/octoprint_deploy.sh index e65f98d..a4e447a 100755 --- a/octoprint_deploy.sh +++ b/octoprint_deploy.sh @@ -470,7 +470,7 @@ detect_printer() { fi counter=$(( $counter + 1 )) #No need to complete timeout in this case - if [[ -n "$TEMPUSB" ]] && [[ -z "$UDEV" ]] + if [[ -n "$TEMPUSB" ]] && [[ -z "$UDEV" ]]; then break fi done