Set module load error code after csync_vio_init failed.

This commit is contained in:
Klaas Freitag 2012-04-19 16:12:05 +02:00
parent b6696f00df
commit 522a6e27a2

View file

@ -300,7 +300,8 @@ retry_vio_init:
module[len-1] = '\0';
goto retry_vio_init;
}
/* Now vio init finally failed which means a module could not be found. */
ctx->error_code = CSYNC_ERR_MODULE;
SAFE_FREE(module);
goto out;
}