mirror of https://github.com/jetkvm/kvm.git
fix: ineffectual assignment to status (ineffassign)
This commit is contained in:
parent
1a3582c877
commit
3f9280cec5
|
|
@ -58,7 +58,7 @@ func updateProcessTitle(state *VideoState) {
|
|||
if state == nil {
|
||||
procPrefix = "jetkvm: [native]"
|
||||
} else {
|
||||
status := "active"
|
||||
var status string
|
||||
if state.Streaming == VideoStreamingStatusInactive {
|
||||
status = "inactive"
|
||||
} else if !state.Ready {
|
||||
|
|
|
|||
Loading…
Reference in New Issue