diff options
author | Taiyu <taiyu.len@gmail.com> | 2015-08-10 14:29:24 -0700 |
---|---|---|
committer | Taiyu <taiyu.len@gmail.com> | 2015-08-10 14:29:24 -0700 |
commit | 604be656256e0bed22f3d7ab3a19951bb5157152 (patch) | |
tree | d1f3c2c8ccd605a0ba4ca9ad42c1e481eaef23a8 /sway/commands.c | |
parent | 8f19faf6e7b681640c0c247d11bf72bab9315633 (diff) |
make cmd_workspace return 0 on success
Diffstat (limited to 'sway/commands.c')
-rw-r--r-- | sway/commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c index 94d5a7ff..5c91ab55 100644 --- a/sway/commands.c +++ b/sway/commands.c @@ -275,7 +275,7 @@ int cmd_workspace(struct sway_config *config, int argc, char **argv) { } else sway_log(L_DEBUG, "workspace exists, all ok"); workspace_switch(workspace); - return 1; + return 0; } /* Keep alphabetized */ |