Skip to content

Commit

Permalink
status: correctly handle signal
Browse files Browse the repository at this point in the history
  • Loading branch information
gerryd committed Oct 21, 2023
1 parent 7657526 commit 847b2c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion status.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (s *StatusCmd) Run(c *Context) error {
}
}

if (buf[0] > 0) {
if (buf[0] == 0) {
output.Signal = "yes"
} else {
output.Signal = "no"
Expand Down

0 comments on commit 847b2c0

Please sign in to comment.