Skip to content

Commit fac72bb

Browse files
committed
add exit
1 parent 692548e commit fac72bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

testing/open-ports.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ function result {
3333
;;
3434
1)
3535
echo "The access to $PORT failed"
36+
exit 1
3637
;;
3738
*)
3839
echo "Unknown exit error for the $PORT command. Exiting script."

0 commit comments

Comments
 (0)