mirror of
https://github.com/edgebox-iot/edgeboxctl.git
synced 2026-10-19 17:55:16 +02:00
Added spaces trim to Exec result
This commit is contained in:
@@ -51,7 +51,7 @@ func Exec(path string, command string, args []string) string {
|
||||
|
||||
// log.Println("Result: " + out.String()) // ... Silence ...
|
||||
|
||||
return out.String()
|
||||
return strings.Trim(out.String(), " ")
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user