Browse Source

Fix return value on error

fix-cms
Reyk Floeter 4 years ago
parent
commit
cb7edf897e
  1. 2
      agent/cloudinit.c

2
agent/cloudinit.c

@ -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…
Cancel
Save