diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index c561673c3c..0396d3d4ee 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -1333,7 +1333,7 @@ Services.scriptloader.loadSubScript("resource://zotero/polyfill.js"); if (Zotero.isMac) { try { return "macOS " - + (await Zotero.Utilities.Internal.subprocess('sw_vers', ['--productVersion'])).trim(); + + (await Zotero.Utilities.Internal.subprocess('sw_vers', ['-productVersion'])).trim(); } catch (e) { Zotero.logError(e);