Remove upload and encoding after successful streaming

This commit is contained in:
gitlab.com/pepa65 committed 2022-09-08 22:58:01 +07:00
1 parent df64174631
commit ab0e2818c0
2 files changed
+4 -3

No files matched your search

+2 -2
View File
@@ -70,8 +70,8 @@ rm "$file"-*
finish=$(date +'%Y-%m-%d at %H:%M:%S')
((error)) && Mail 2 "Error encoding $name"
# Remove tailfiles and upload if no errors
rm -- "$file".?log "$file"
# Remove tailfiles if no errors
rm -- "$file".?log
# Schedule cron job
m=${date:13:2} m=${m#0} h=${date:11:2} h=${h#0}