From 78db68cecf10ff800f28e80f1409eb4b7c4794bc Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Thu, 8 May 2014 14:02:26 +0200 Subject: swanctl: Properly initialize return value of --install command --- src/swanctl/commands/install.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/swanctl/commands/install.c b/src/swanctl/commands/install.c index a0cef58d8..594d2ffe3 100644 --- a/src/swanctl/commands/install.c +++ b/src/swanctl/commands/install.c @@ -23,7 +23,7 @@ static int manage_policy(vici_conn_t *conn, char *label) vici_res_t *res; bool raw = FALSE; char *arg, *child = NULL; - int ret; + int ret = 0; while (TRUE) { -- cgit v1.2.3