summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2004-09-02 17:56:05 +0000
committerSven Wegener <swegener@gentoo.org>2004-09-02 17:56:05 +0000
commitee16d3a5058e7b7b030a074f78d7a8d70ca2dc15 (patch)
treeea14acc15de03612a5b36aab87b1c6df66b02751 /net-fs/autofs/files/autofs.rc6
parentppc stable profile update (diff)
downloadhistorical-ee16d3a5058e7b7b030a074f78d7a8d70ca2dc15.tar.gz
historical-ee16d3a5058e7b7b030a074f78d7a8d70ca2dc15.tar.bz2
historical-ee16d3a5058e7b7b030a074f78d7a8d70ca2dc15.zip
tail +2 -> tail -n +2 to be compatible with latest coreutils. Closes bug #62606.
Diffstat (limited to 'net-fs/autofs/files/autofs.rc6')
-rw-r--r--net-fs/autofs/files/autofs.rc64
1 files changed, 2 insertions, 2 deletions
diff --git a/net-fs/autofs/files/autofs.rc6 b/net-fs/autofs/files/autofs.rc6
index a3ccf7fa6a44..d482c27dc75c 100644
--- a/net-fs/autofs/files/autofs.rc6
+++ b/net-fs/autofs/files/autofs.rc6
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/files/autofs.rc6,v 1.8 2004/07/14 23:33:35 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/files/autofs.rc6,v 1.9 2004/09/02 17:56:05 swegener Exp $
# rc file for automount using a Sun-style "master map".
# We first look for a local /etc/auto.master, then a YP
@@ -126,7 +126,7 @@ reload() {
do
pid=`head -n 1 $i 2>/dev/null`
[ "$pid" = "" ] && continue
- command=`tail +2 $i`
+ command=`tail -n +2 $i`
if ! grep -q "^$command" $TMP
then
echo "Stopping automounter: $command"