mirror of https://github.com/shirou/gopsutil
fix(disk): correctly replace /dev in /dev/mapper
Only replace the first instance of /dev in a /dev/mapper string. Otherwise, if an LVM group is named dev it will replace that as well. fixes: #1411pull/1412/head
parent
0494d7f0b9
commit
7645051510
Loading…
Reference in New Issue