mirror of
https://github.com/NickHu/sway
synced 2024-12-27 21:58:11 +01:00
swaymsg: fix misplaced return value
This commit is contained in:
parent
55cd8abd76
commit
db70f6496c
1 changed files with 1 additions and 1 deletions
|
@ -528,8 +528,8 @@ int main(int argc, char **argv) {
|
|||
if (!quiet) {
|
||||
sway_log(SWAY_ERROR, "failed to parse payload as json: %s",
|
||||
json_tokener_error_desc(err));
|
||||
ret = 1;
|
||||
}
|
||||
ret = 1;
|
||||
break;
|
||||
} else if (quiet) {
|
||||
json_object_put(obj);
|
||||
|
|
Loading…
Reference in a new issue