diff --git a/unix_setup.sh b/unix_setup.sh index 8283efcac8523ee110c5b6b312f71c60ba1c4e1b..970c35a5c208578f0eed614abbbd726b7153139a 100755 --- a/unix_setup.sh +++ b/unix_setup.sh @@ -44,7 +44,7 @@ ext_jar_filepath=$PWD/autopsy/modules/ext/sleuthkit-postgresql-$TSK_VERSION.jar; if [ -f "$sleuthkit_jar_filepath" ]; then echo "$sleuthkit_jar_filepath found" echo "Copying into the Autopsy directory" - rm $ext_jar_filepath; + rm -f $ext_jar_filepath; if [ "$?" -gt 0 ]; then #checking if remove operation failed echo "exiting .." exit 1