diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-01-19 03:01:19 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-01-19 03:01:19 +0000 |
commit | 58eadf4dc31f06a59de3683641252f5fc7ab211c (patch) | |
tree | 9a37053b5712200c33630d3c1934b1667ebb5817 /net-zope/zope | |
parent | stable on sparc (diff) | |
download | gentoo-2-58eadf4dc31f06a59de3683641252f5fc7ab211c.tar.gz gentoo-2-58eadf4dc31f06a59de3683641252f5fc7ab211c.tar.bz2 gentoo-2-58eadf4dc31f06a59de3683641252f5fc7ab211c.zip |
fix head -1 #36231
Diffstat (limited to 'net-zope/zope')
-rw-r--r-- | net-zope/zope/files/zope | 2 | ||||
-rw-r--r-- | net-zope/zope/files/zope.rc6 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net-zope/zope/files/zope b/net-zope/zope/files/zope index dd50e4da0f92..e35c1f9f1e3b 100644 --- a/net-zope/zope/files/zope +++ b/net-zope/zope/files/zope @@ -141,7 +141,7 @@ chkstatus() { # Next try "/var/run/*.pid" files if [ -f /var/run/$1.pid ] ; then - pid=`head -1 /var/run/$1.pid` + pid=`head -n 1 /var/run/$1.pid` if [ "$pid" != "" ] ; then echo "$1 dead but pid file exists" return 1 diff --git a/net-zope/zope/files/zope.rc6 b/net-zope/zope/files/zope.rc6 index e9b706856dde..a437b190bafa 100644 --- a/net-zope/zope/files/zope.rc6 +++ b/net-zope/zope/files/zope.rc6 @@ -143,7 +143,7 @@ chkstatus() { # Next try "/var/run/*.pid" files if [ -f /var/run/$1.pid ] ; then - pid=`head -1 /var/run/$1.pid` + pid=`head -n 1 /var/run/$1.pid` if [ "$pid" != "" ] ; then echo "$1 dead but pid file exists" return 1 |