mirror of
https://github.com/siemens-mobile-hacks/node-serialport-bindings-cpp.git
synced 2026-11-26 02:47:17 +00:00
Fixed udevadm path
This commit is contained in:
parent
27db72ab3f
commit
a86d3912fa
1 changed files with 1 additions and 1 deletions
|
|
@ -535,7 +535,7 @@ function SerialPortFactory() {
|
|||
}
|
||||
|
||||
link = path.resolve(dirName, link);
|
||||
exec('udevadm info --query=property -p $(udevadm info -q path -n ' + link + ')', function (err, stdout) {
|
||||
exec('/sbin/udevadm info --query=property -p $(/sbin/udevadm info -q path -n ' + link + ')', function (err, stdout) {
|
||||
if (err) {
|
||||
if (callback) {
|
||||
callback(err);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue