diff options
Diffstat (limited to 'src/monitor')
-rw-r--r-- | src/monitor/monitor.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/monitor/monitor.c b/src/monitor/monitor.c index caf40561..1c2a058e 100644 --- a/src/monitor/monitor.c +++ b/src/monitor/monitor.c @@ -981,6 +981,9 @@ static int add_new_service(struct mt_ctx *ctx, const char *name) struct mt_svc *svc; ret = get_service_config(ctx, name, &svc); + if (ret != EOK) { + return ret; + } ret = start_service(svc); if (ret != EOK) { |