summaryrefslogtreecommitdiffstats
path: root/application/libraries/Image/Drivers/imagemagick.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/libraries/Image/Drivers/imagemagick.php')
-rw-r--r--application/libraries/Image/Drivers/imagemagick.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/libraries/Image/Drivers/imagemagick.php b/application/libraries/Image/Drivers/imagemagick.php
index fb4e4d88f..8295469eb 100644
--- a/application/libraries/Image/Drivers/imagemagick.php
+++ b/application/libraries/Image/Drivers/imagemagick.php
@@ -70,7 +70,7 @@ class imagemagick implements \libraries\Image\ImageDriver {
}
try {
- $ret = (new \libraries\ProcRunner($command))->execSafe();
+ $ret = (new \libraries\ProcRunner($command))->forbid_nonzero()->exec();
} catch (\exceptions\ApiException $e) {
throw new \exceptions\ApiException("libraries/Image/thumbnail-creation-failed", "Failed to create thumbnail", null, $e);
}