Add warning if videos directory is the same than redundancy

This commit is contained in:
Chocobozzz 2019-12-10 14:31:08 +01:00
parent f37db8966d
commit 2034c3aaa0
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 4 additions and 0 deletions

View File

@ -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
}