mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
Don't show exist errors
This commit is contained in:
parent
043a47204d
commit
67a184cd02
@ -51,6 +51,7 @@ define(function(require, exports, module) {
|
||||
"ENOTDIR" : "{Totype|type} {to|filename} is not a directory",
|
||||
"EEXIST" : "{Totype|type} {to|filename} already exists",
|
||||
"EACCES" : "Access denied acccessing this {type}",
|
||||
"ENOSPC" : "Your disk is full. Please create more space. Could not write {filename}",
|
||||
"EDISCONNECT" : "The connection went away. Please try again.",
|
||||
"ENOTCONNECTED" : "You are disconnected. "
|
||||
+ "Please check your connection and try again"
|
||||
@ -81,6 +82,7 @@ define(function(require, exports, module) {
|
||||
|
||||
fs.on("userError", function(e) {
|
||||
if (!m[e.name]) return;
|
||||
if (e.error.code == "EEXIST") return;
|
||||
|
||||
var args = e.args;
|
||||
var path = args[0];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user