diff --git a/tlsobs/main.go b/tlsobs/main.go
index <HASH>..<HASH> 100644
--- a/tlsobs/main.go
+++ b/tlsobs/main.go
@@ -127,6 +127,7 @@ getresults:
 	fmt.Printf("\n")
 	if !results.Has_tls {
 		fmt.Printf("%s does not support SSL/TLS\n", target)
+		exitCode = 5
 	} else {
 		if *printRaw {
 			fmt.Printf("%s\n", body)
Exit with non zero code when target doesn't support TLS