diff --git a/afl_transforms/tools/zax/test/test_graph.sh b/afl_transforms/tools/zax/test/test_graph.sh
index 397170513be6ebfbe69e0098317b72cdcc475edb..112c6fed4ef89cc3f7d63b39163c42ef1c5b8ce3 100755
--- a/afl_transforms/tools/zax/test/test_graph.sh
+++ b/afl_transforms/tools/zax/test/test_graph.sh
@@ -17,7 +17,7 @@ log_error()
 
 check_afl()
 {
-	which afl-showmap
+	which afl-showmap >/dev/null 2>&1
 	if [ ! $? -eq 0 ]; then
 		log_error "AFL doesn't seem to be installed. Try: 'sudo apt install afl' before proceeding or download/build afl directly from source"
 	fi