1
0

Fixed a typo in radioctl.

This commit is contained in:
Alexander Andreev 2023-05-02 17:47:36 +04:00
parent 1517060296
commit 15dc540c0e
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -24,7 +24,7 @@ case $1 in
continue;
fi
ffmpeg -hide_banner -i "$file" -y -vn -c:a libvorbis -b:a 128k "${file%.*}.ogg";
if [ $? -eq 0 ] && [ $2 = "del" ]; then
if [ $? -eq 0 ] && [ $3 = "del" ]; then
rm "$file";
fi
done