From 85fe1dc1713d54ab2fe1a9a126377315790885f2 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Fri, 2 Sep 2022 16:59:26 -0400 Subject: [PATCH] bugfix --- root/scripts/QueueCleaner.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/root/scripts/QueueCleaner.bash b/root/scripts/QueueCleaner.bash index 853df80..2e23b53 100644 --- a/root/scripts/QueueCleaner.bash +++ b/root/scripts/QueueCleaner.bash @@ -3,8 +3,8 @@ scriptVersion="1.0.002" if [ -z "$arrUrl" ] || [ -z "$arrApiKey" ]; then arrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" - if [ "$arrUrlBase" = "null" ]; then - arrlBase="" + if [ "$arrUrlBase" == "null" ]; then + arrUrlBase="" else arrUrlBase="/$(echo "$arrUrlBase" | sed "s/\///g")" fi