Selaa lähdekoodia

Fail attachment extraction on non-zero exit code.

Andrew Mahone 5 vuotta sitten
vanhempi
sitoutus
e9c893f07e
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs

+ 1 - 1
MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs

@@ -216,7 +216,7 @@ namespace MediaBrowser.MediaEncoding.Attachments
             
             var failed = false;
 
-            if (exitCode == -1)
+            if (exitCode != 0)
             {
                 failed = true;