Browse Source

Properly check decryptsrf() return code

tags/v1.0
Bernhard Fröhlich 5 years ago
parent
commit
0502702229
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      drmdecrypt.c

+ 2
- 1
drmdecrypt.c View File

@@ -429,7 +429,8 @@ int main(int argc, char *argv[])
429 429
 
430 430
    do
431 431
    {
432
-      decryptsrf(argv[optind], outdir);
432
+      if(decryptsrf(argv[optind], outdir) != 0)
433
+         break;
433 434
    }
434 435
    while(++optind < argc);
435 436
 

Loading…
Cancel
Save