Fix return value on error
This commit is contained in:
parent
4953fa418c
commit
cb7edf897e
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ cloudinit(struct system_config *sc)
|
|||
static int
|
||||
cloudinit_fetch(struct system_config *sc)
|
||||
{
|
||||
int ret = 0;
|
||||
int ret = -1;
|
||||
char *str = NULL;
|
||||
|
||||
sc->sc_addr.ip = sc->sc_endpoint;
|
||||
|
|
Loading…
Reference in a new issue