diff --git a/QueueCleaner.bash b/QueueCleaner.bash index bab43af..a7ca30e 100644 --- a/QueueCleaner.bash +++ b/QueueCleaner.bash @@ -79,7 +79,7 @@ QueueCleanerProcess () { fi } -if [ "$arrName" == "enableQueueCleaner" ]; then +if [ "$enableQueueCleaner" == "false" ]; then log "ERROR :: Script disabled, exiting..." exit fi