From 441d1811ae2b29b7f80cf4b9d0dbda1ffe324ddf Mon Sep 17 00:00:00 2001 From: Jonny007-MKD Date: Tue, 10 Mar 2015 22:23:55 +0100 Subject: [PATCH] Check if output file of cutter exists --- otrDecodeAll | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/otrDecodeAll b/otrDecodeAll index 349cd0f..e521aee 100755 --- a/otrDecodeAll +++ b/otrDecodeAll @@ -508,7 +508,12 @@ function funcCut { success=$? case $success in 0) - funcLog 4 "Successfully cut";; + if [ ! -f "$pathTmpAbsCut" ]; then + success=1 + funcLog 1 "multicutmkv: Returned success, but output file is missing!" + else + funcLog 4 "Successfully cut" + fi;; 1) funcLog 1 "multicutmkv: General error!";; 2)