www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit f10da8c5270d3eb46f95b41de062e9764012a859
parent 10e5766d8f83d5fe5df5ceb022aadb329585d96f
Author: Dan Stillman <dstillman@zotero.org>
Date:   Tue, 24 Aug 2010 21:05:38 +0000

Don't die if /Users/Shared doesn't exist on OS X


Diffstat:
Mchrome/content/zotero/xpcom/integration.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js @@ -48,7 +48,7 @@ Zotero.Integration = new function() { createInstance(Components.interfaces.nsILocalFile); _fifoFile.initWithPath("/Users/Shared"); - if(_fifoFile.isDirectory() && _fifoFile.isWritable()) { + if(_fifoFile.exists() && _fifoFile.isDirectory() && _fifoFile.isWritable()) { var logname = Components.classes["@mozilla.org/process/environment;1"]. getService(Components.interfaces.nsIEnvironment). get("LOGNAME");