swanctl: Properly initialize return value of --install command
This commit is contained in:
@@ -23,7 +23,7 @@ static int manage_policy(vici_conn_t *conn, char *label)
|
|||||||
vici_res_t *res;
|
vici_res_t *res;
|
||||||
bool raw = FALSE;
|
bool raw = FALSE;
|
||||||
char *arg, *child = NULL;
|
char *arg, *child = NULL;
|
||||||
int ret;
|
int ret = 0;
|
||||||
|
|
||||||
while (TRUE)
|
while (TRUE)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user