mirror of
https://github.com/KrumpetPirate/AAXtoMP3.git
synced 2024-11-18 03:08:57 +01:00
Trap ctrl-c and exit 0
This commit is contained in:
parent
f5c09d7270
commit
30b71ba73c
@ -7,7 +7,7 @@ if ! command -v ffmpeg 2> /dev/null ; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
trap 'rm -f "tmp.txt"' EXIT TERM
|
trap 'rm -f "tmp.txt" ; exit 0 ;' EXIT TERM INT
|
||||||
|
|
||||||
while [ $# -gt 0 ]; do
|
while [ $# -gt 0 ]; do
|
||||||
FILE="$1"
|
FILE="$1"
|
||||||
|
Loading…
Reference in New Issue
Block a user