Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Nov 2011 12:23:23 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r227787 - head/etc
Message-ID:  <201111211223.pALCNNmo042551@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: glebius
Date: Mon Nov 21 12:23:22 2011
New Revision: 227787
URL: http://svn.freebsd.org/changeset/base/227787

Log:
  Better use pkill(1) in last commit.
  
  Submitted by:	pjd

Modified:
  head/etc/rc.resume

Modified: head/etc/rc.resume
==============================================================================
--- head/etc/rc.resume	Mon Nov 21 12:21:00 2011	(r227786)
+++ head/etc/rc.resume	Mon Nov 21 12:23:22 2011	(r227787)
@@ -50,7 +50,7 @@ if [ -r /var/run/rc.suspend.tch ]; then
 fi
 
 if [ -r /var/run/moused.pid ]; then
-	kill -HUP `head -1 /var/run/moused.pid`
+	pkill -HUP -F /var/run/moused.pid
 fi
 
 # Turns on a power supply of a card in the slot inactivated.



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