1
0
Fork 0

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

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
}