Add warning if videos directory is the same than redundancy
This commit is contained in:
parent
f37db8966d
commit
2034c3aaa0
1 changed files with 4 additions and 0 deletions
|
@ -108,6 +108,10 @@ function checkConfig () {
|
|||
}
|
||||
}
|
||||
|
||||
if (CONFIG.STORAGE.VIDEOS_DIR === CONFIG.STORAGE.REDUNDANCY_DIR) {
|
||||
logger.warn('Redundancy directory should be different than the videos folder.')
|
||||
}
|
||||
|
||||
return null
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue