diff options
author | trasz <trasz@FreeBSD.org> | 2016-07-12 13:12:01 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2016-07-12 13:12:01 +0000 |
commit | 0d217255d881a21314725364ec5d32985bd96cb1 (patch) | |
tree | f627daccbffbe43c66b0417ad41902485344e5be /usr.sbin | |
parent | 33166d71434e04e189d98ff9b4cf81085e3e15b9 (diff) | |
download | FreeBSD-src-0d217255d881a21314725364ec5d32985bd96cb1.zip FreeBSD-src-0d217255d881a21314725364ec5d32985bd96cb1.tar.gz |
MFC r302503:
Fix ctld(8) to not exit when reloading configuration with invalid
initiator-portal clause.
Approved by: re (gjb)
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ctld/ctld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ctld/ctld.c b/usr.sbin/ctld/ctld.c index a2bc17d..6ee6f74 100644 --- a/usr.sbin/ctld/ctld.c +++ b/usr.sbin/ctld/ctld.c @@ -402,7 +402,7 @@ auth_portal_new(struct auth_group *ag, const char *portal) error: free(ap); - log_errx(1, "Incorrect initiator portal '%s'", portal); + log_warnx("incorrect initiator portal \"%s\"", portal); return (NULL); } |