diff options
author | Martin Willi <martin@revosec.ch> | 2014-05-08 14:02:26 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2014-05-16 15:42:07 +0200 |
commit | 78db68cecf10ff800f28e80f1409eb4b7c4794bc (patch) | |
tree | e4346a61dd023edb089b74511ec82c0d4272a992 /src | |
parent | f5bbbd480c0ac9632f70bdb0e67718b4d9344c80 (diff) | |
download | strongswan-78db68cecf10ff800f28e80f1409eb4b7c4794bc.tar.bz2 strongswan-78db68cecf10ff800f28e80f1409eb4b7c4794bc.tar.xz |
swanctl: Properly initialize return value of --install command
Diffstat (limited to 'src')
-rw-r--r-- | src/swanctl/commands/install.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |