From 604be656256e0bed22f3d7ab3a19951bb5157152 Mon Sep 17 00:00:00 2001 From: Taiyu Date: Mon, 10 Aug 2015 14:29:24 -0700 Subject: [PATCH] make cmd_workspace return 0 on success --- sway/commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway/commands.c b/sway/commands.c index 94d5a7ff0..5c91ab55c 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 */