diff --git a/unix_setup.sh b/unix_setup.sh
index a1e24fdf9e80225fae2e88d06a8270436b0d3ea1..93a98ae1bceb9182f972f5c870133f9339c4e7fc 100755
--- a/unix_setup.sh
+++ b/unix_setup.sh
@@ -38,9 +38,7 @@ if [ -f "$sleuthkit_jar_filepath" ]; then
         	exit 1
     	else
         	cp $sleuthkit_jar_filepath $ext_jar_filepath
-        	if [ "$?" -eq 0 ]; then # checking copy operation was successful
-            		# echo "Successfully copied $sleuthkit_jar_filepath"
-        	else
+        	if [ "$?" -ne 0 ]; then # checking copy operation was successful
         		echo "exiting..."
         		exit 1
         	fi