Skip to content
This repository has been archived by the owner on Apr 4, 2019. It is now read-only.

Commit

Permalink
skip EINVAL to allow browsing a virtual box shared directory on windo…
Browse files Browse the repository at this point in the history
…ws guest back to OS X
  • Loading branch information
Dane Springmeyer committed Feb 7, 2014
1 parent e713505 commit 6f22f3a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion models/Library.server.bones
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ models.Library.prototype.sync = function(method, model, success, error) {
if (err &&
err.code !== 'EACCES' &&
err.code !== 'UNKNOWN' &&
err.code !== 'EPERM') return error(err);
err.code !== 'EPERM' &&
err.code !== 'EINVAL') return error(err);
var data = {};
var ext = model.id === 'file' ? extFile : extSqlite;
data.id = model.id;
Expand Down

0 comments on commit 6f22f3a

Please sign in to comment.