v1.2 - Fix sleep when script is disabled...

#215 - Should resolve this...
This commit is contained in:
RandomNinjaAtk 2024-03-24 19:25:50 -04:00 committed by GitHub
parent d760f4b7d8
commit e7d07e2f1f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
scriptVersion="1.1" scriptVersion="1.2"
scriptName="InvalidMoviesAutoCleaner" scriptName="InvalidMoviesAutoCleaner"
#### Import Settings #### Import Settings
@ -17,7 +17,7 @@ verifyConfig () {
if [ "$enableInvalidMoviesAutoCleaner" != "true" ]; then if [ "$enableInvalidMoviesAutoCleaner" != "true" ]; then
log "Script is not enabled, enable by setting enableInvalidMoviesAutoCleaner to \"true\" by modifying the \"/config/extended.conf\" config file..." log "Script is not enabled, enable by setting enableInvalidMoviesAutoCleaner to \"true\" by modifying the \"/config/extended.conf\" config file..."
log "Sleeping (infinity)" log "Sleeping (infinity)"
#sleep infinity sleep infinity
fi fi
if [ -z "$invalidMoviesAutoCleanerScriptInterval" ]; then if [ -z "$invalidMoviesAutoCleanerScriptInterval" ]; then