set $success to false if exec of command failed

This commit is contained in:
Uwe Steinmann 2023-01-05 09:34:39 +01:00
parent a8474b08c6
commit 735fe4235f

View File

@ -168,6 +168,7 @@ class SeedDMS_ConversionServiceExec extends SeedDMS_ConversionServiceBase {
} catch(Exception $e) { } catch(Exception $e) {
if($hastempfile) if($hastempfile)
unlink($tmpfile); unlink($tmpfile);
$this->success = false;
return false; return false;
} }
$end = microtime(true); $end = microtime(true);