status: do not show problem field when none exists

This commit is contained in:
Anton Schirg 2018-08-29 19:25:34 +02:00
parent b2f01e454f
commit 42056f7a32

View File

@ -167,8 +167,10 @@ func (t *tui) draw() {
}
t.printf("Status: %s", rep.Status)
t.newline()
if (rep.Problem != "") {
t.printf("Problem: %s", rep.Problem)
t.newline()
}
for _, fs := range rep.Completed {
printFilesystem(fs, t)