Skip to content
Snippets Groups Projects
Commit 46d9659e authored by Brian Carrier's avatar Brian Carrier
Browse files

do not error if file is not there

parent 47ebd238
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment