Skip to content

Commit

Permalink
Fix tmp files filling up the Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
rix1337 committed Oct 24, 2019
1 parent 5a8390a commit 92cf8f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions root/ripper/ripper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ let BAD_RESPONSE=0
# True is always true, thus loop indefinitely
while true
do
# delete MakeMKV temp files
find /tmp/ -name "*.tmp" -type f -delete

# get disk info through makemkv and pass output to INFO
INFO=$"`makemkvcon -r --cache=1 info disc:9999 | grep DRV:0`"
# check INFO for optical disk
Expand Down

0 comments on commit 92cf8f6

Please sign in to comment.