From e0833c7a93b28e710f631fc98a599956e1ef76ba Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Fri, 28 Jul 2023 10:38:08 +0000 Subject: [PATCH] v2.9 - Bug fix for missing path... #40 --- lidarr/Audio.service.bash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lidarr/Audio.service.bash b/lidarr/Audio.service.bash index ab0498b..0407e1f 100644 --- a/lidarr/Audio.service.bash +++ b/lidarr/Audio.service.bash @@ -1,5 +1,5 @@ #!/usr/bin/with-contenv bash -scriptVersion="2.8" +scriptVersion="2.9" scriptName="Audio" ### Import Settings @@ -334,12 +334,12 @@ TidalClientTest () { log "TIDAL :: ERROR :: Download failed" log "TIDAL :: ERROR :: You will need to re-authenticate on next script run..." log "TIDAL :: ERROR :: Exiting..." - rm -rf "$"/incomplete/* + rm -rf "$audioPath"/incomplete/* NotifyWebhook "Error" "TIDAL not authenticated but configured" tidalClientTest="failed" exit else - rm -rf "$"/incomplete/* + rm -rf "$audioPath"/incomplete/* log "TIDAL :: Successfully Verified" tidalClientTest="success" fi