Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jul 2016 13:12:02 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r302663 - stable/11/usr.sbin/ctld
Message-ID:  <201607121312.u6CDC2Zr033004@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trasz
Date: Tue Jul 12 13:12:01 2016
New Revision: 302663
URL: https://svnweb.freebsd.org/changeset/base/302663

Log:
  MFC r302503:
  
  Fix ctld(8) to not exit when reloading configuration with invalid
  initiator-portal clause.
  
  Approved by:	re (gjb)

Modified:
  stable/11/usr.sbin/ctld/ctld.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/usr.sbin/ctld/ctld.c
==============================================================================
--- stable/11/usr.sbin/ctld/ctld.c	Tue Jul 12 12:05:58 2016	(r302662)
+++ stable/11/usr.sbin/ctld/ctld.c	Tue Jul 12 13:12:01 2016	(r302663)
@@ -402,7 +402,7 @@ auth_portal_new(struct auth_group *ag, c
 
 error:
 	free(ap);
-	log_errx(1, "Incorrect initiator portal '%s'", portal);
+	log_warnx("incorrect initiator portal \"%s\"", portal);
 	return (NULL);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607121312.u6CDC2Zr033004>