1
0
Fork 0

Trim last added newline

timestamps
dump_stack() 2023-04-06 20:45:20 +00:00
parent a4c83c1637
commit c0dd0ae07b
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
1 changed files with 1 additions and 0 deletions

View File

@ -384,6 +384,7 @@ func (q System) Command(user, cmd string) (output string, err error) {
output += m + "\n"
flog.Trace().Str("stdout", m).Msg("")
}
output = strings.TrimSuffix(output, "\n")
}()
err = session.Wait()