aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend.c')
-rw-r--r--backend.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/backend.c b/backend.c
index 49f0b6d..3ed336d 100644
--- a/backend.c
+++ b/backend.c
@@ -247,10 +247,14 @@ int mm_backend_register(backend b){
}
int backends_start(){
- int rv = 0;
+ int rv = 0, current;
size_t u;
for(u = 0; u < nbackends; u++){
- rv |= backends[u].start();
+ current = backends[u].start();
+ if(current){
+ fprintf(stderr, "Failed to start backend %s\n", backends[u].name);
+ }
+ rv |= current;
}
return rv;
}