v1.1 - correct error

This commit is contained in:
RandomNinjaAtk 2023-07-10 10:55:29 +00:00 committed by GitHub
parent c6dee4c75f
commit 15ecd45700
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,10 @@
#!/usr/bin/env bash #!/usr/bin/env bash
scriptVersion="1.0" scriptVersion="1.1"
log () {
m_time=`date "+%F %T"`
echo $m_time" :: AutoConfig :: $scriptVersion :: "$1
}
getArrAppInfo () { getArrAppInfo () {
# Get Arr App information # Get Arr App information
@ -51,10 +56,6 @@ if [ ! -f "/config/logs/AutoConfig.txt" ]; then
fi fi
exec &> >(tee -a "/config/logs/AutoConfig.txt") exec &> >(tee -a "/config/logs/AutoConfig.txt")
log () {
m_time=`date "+%F %T"`
echo $m_time" :: AutoConfig :: $scriptVersion :: "$1
}
if [ -f /config/extended/naming.json ]; then if [ -f /config/extended/naming.json ]; then