From 15dc540c0e18b800744c2855b60ee1ed01e1f2e5 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Tue, 2 May 2023 17:47:36 +0400 Subject: [PATCH] Fixed a typo in radioctl. --- tools/radioctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/radioctl b/tools/radioctl index 28bea4f..cc83079 100644 --- a/tools/radioctl +++ b/tools/radioctl @@ -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