From: José Bollo Date: Wed, 14 Dec 2016 15:20:50 +0000 (+0100) Subject: afb-hsrv: Adds an error when alias dir doesn't exist X-Git-Tag: dab_3.99.1~159 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=3066dda4e4e4be70335ca2dfbc74a20f4ff0dede;p=src%2Fapp-framework-binder.git afb-hsrv: Adds an error when alias dir doesn't exist Change-Id: Iab0f9b1997f6471ceab8bb43be07d6d00c53fd78 Signed-off-by: José Bollo --- diff --git a/src/afb-hsrv.c b/src/afb-hsrv.c index 030bec5b..56509c3c 100644 --- a/src/afb-hsrv.c +++ b/src/afb-hsrv.c @@ -366,7 +366,7 @@ int afb_hsrv_add_alias(struct afb_hsrv *hsrv, const char *prefix, int dirfd, con root = locale_root_create_at(dirfd, alias); if (root == NULL) { - /* TODO message */ + ERROR("can't connect to directory %s: %m", alias); rc = 0; } else { rc = afb_hsrv_add_alias_root(hsrv, prefix, root, priority, relax);