mirror of https://github.com/bcicen/ctop.git
file.go: remove duplicated trim
The s var was already trimmed on line 67
This commit is contained in:
parent
c971d26d42
commit
a22d99fefb
|
@ -66,7 +66,7 @@ func Read() error {
|
|||
for _, s := range strings.Split(colStr, ",") {
|
||||
s = strings.TrimSpace(s)
|
||||
if s != "" {
|
||||
colNames = append(colNames, strings.TrimSpace(s))
|
||||
colNames = append(colNames, s)
|
||||
}
|
||||
}
|
||||
SetColumns(colNames)
|
||||
|
|
Loading…
Reference in New Issue