mirror of
https://github.com/EnumeratedDev/stormfetch.git
synced 2026-09-16 07:56:12 +00:00
Remove dependency on bash, switch to new module system and simplify code
This commit is contained in:
+1
-1
@@ -95,7 +95,7 @@ func GetMountedPartitions(hiddenPartitions, hiddenFilesystems []string) []partit
|
||||
|
||||
// Set partition label if available
|
||||
if value, ok := labels[p.Device]; ok {
|
||||
p.Label = value
|
||||
p.Label = strings.ReplaceAll(value, "\\x20", " ")
|
||||
}
|
||||
|
||||
// Get partition total, used and free space
|
||||
|
||||
Reference in New Issue
Block a user