make cmd_workspace return 0 on success

This commit is contained in:
Taiyu 2015-08-10 14:29:24 -07:00
parent 8f19faf6e7
commit 604be65625

View file

@ -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 */