Update Video.service.bash
null check added to $videoContainer
This commit is contained in:
parent
80c3853081
commit
33959af52a
1 changed files with 3 additions and 1 deletions
|
@ -8,7 +8,9 @@ source /config/extended.conf
|
|||
source /config/extended/functions
|
||||
|
||||
verifyConfig () {
|
||||
videoContainer=mkv
|
||||
if [ -z "$videoContainer" ]; then
|
||||
videoContainer="mkv"
|
||||
fi
|
||||
|
||||
if [ "$enableVideo" != "true" ]; then
|
||||
log "Script is not enabled, enable by setting enableVideo to \"true\" by modifying the \"/config/extended.conf\" config file..."
|
||||
|
|
Loading…
Reference in a new issue