svn commit: r335763 - head/etc/devd

Warner Losh imp at FreeBSD.org
Thu Jun 28 15:00:19 UTC 2018


Author: imp
Date: Thu Jun 28 15:00:18 2018
New Revision: 335763
URL: https://svnweb.freebsd.org/changeset/base/335763

Log:
  Fix quoting in sending the NOMATCH event to devmatch
  
  The NOMATCH event was previously quoted to protect it from shell
  expansion. However, that quoting now interferes with the quoting devd
  is doing. Quote to protect just the ?.

Modified:
  head/etc/devd/devmatch.conf

Modified: head/etc/devd/devmatch.conf
==============================================================================
--- head/etc/devd/devmatch.conf	Thu Jun 28 13:48:59 2018	(r335762)
+++ head/etc/devd/devmatch.conf	Thu Jun 28 15:00:18 2018	(r335763)
@@ -9,7 +9,7 @@
 #
 # Generic NOMATCH event
 nomatch 100 {
-	action "service devmatch quietstart '?$_'";
+	action "service devmatch quietstart '?'$_";
 };
 
 # Add the following to devd.conf to prevent this from running:


More information about the svn-src-all mailing list