make cmd_workspace return 0 on success

master
Taiyu 9 years ago
parent 8f19faf6e7
commit 604be65625

@ -275,7 +275,7 @@ int cmd_workspace(struct sway_config *config, int argc, char **argv) {
} else sway_log(L_DEBUG, "workspace exists, all ok"); } else sway_log(L_DEBUG, "workspace exists, all ok");
workspace_switch(workspace); workspace_switch(workspace);
return 1; return 0;
} }
/* Keep alphabetized */ /* Keep alphabetized */

Loading…
Cancel
Save