mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-03 00:06:46 +01:00
Remove log about not modifying permissions
This commit is contained in:
parent
6f67c7bfa2
commit
ff8a58c7bc
@ -92,7 +92,6 @@ module.exports.setDefault = (path, silent = false) => {
|
|||||||
const gid = global.Gid
|
const gid = global.Gid
|
||||||
return new Promise((resolve) => {
|
return new Promise((resolve) => {
|
||||||
if (isNaN(uid) || isNaN(gid)) {
|
if (isNaN(uid) || isNaN(gid)) {
|
||||||
if (!silent) Logger.debug('Not modifying permissions since no uid/gid is specified')
|
|
||||||
return resolve()
|
return resolve()
|
||||||
}
|
}
|
||||||
if (!silent) Logger.debug(`Setting permission "${mode}" for uid ${uid} and gid ${gid} | "${path}"`)
|
if (!silent) Logger.debug(`Setting permission "${mode}" for uid ${uid} and gid ${gid} | "${path}"`)
|
||||||
|
Loading…
Reference in New Issue
Block a user