dreport: Fix incorrect use of return in main script body

We can only return from a function and not from the main script. Change
from `return` to `exit`.

Change-Id: Id0226da0498ceccf2db8cf89259546b8cb5f9929
Signed-off-by: Amithash Prasad <amithash@meta.com>
diff --git a/tools/dreport.d/plugins.d/redundantosrelease b/tools/dreport.d/plugins.d/redundantosrelease
index 7e6eb13..b67da4a 100644
--- a/tools/dreport.d/plugins.d/redundantosrelease
+++ b/tools/dreport.d/plugins.d/redundantosrelease
@@ -27,7 +27,7 @@
 
 # If there is only one FW image on the BMC, return then and there
 if [ "$array_length" -lt 5 ]; then
-    return "$SUCCESS"
+    exit 0
 fi
 
 firmware1=$(echo "${read_array[3]}" | xargs)