Skip to content

Commit 0257738

Browse files
committed
Hardcoded linux locale
1 parent 74dcb6e commit 0257738

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/linux.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/linux.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ module.exports =
104104
#
105105
# Use nmcli to list visible wifi networks.
106106
#
107-
scanResults = @execSync "nmcli -m multiline device wifi list"
107+
scanResults = @execSync "export LC_ALL=C && nmcli -m multiline device wifi list && unset LC_ALL"
108108
#
109109
# Parse the results into an array of AP objects to match
110110
# the structure found in node-wifiscanner2 for win32 and MacOS.

0 commit comments

Comments
 (0)