Skip to content
Snippets Groups Projects
Commit 7810f321 authored by Peter J. Martel's avatar Peter J. Martel
Browse files

Fix TskCaseDb::addImage to return error status instead of image id

parent baf9c9bf
No related branches found
No related tags found
No related merge requests found
...@@ -132,7 +132,9 @@ uint8_t ...@@ -132,7 +132,9 @@ uint8_t
autoDb.revertAddImage(); autoDb.revertAddImage();
return 1; return 1;
} }
return autoDb.commitAddImage(); autoDb.commitAddImage();
return 0;
} }
/* /*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment