summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2010-08-20 19:18:29 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2010-08-20 19:18:29 +0000
commit94969f75bf531478166ae033ec93ead03f784a48 (patch)
tree14f156e6fdc8d5e3f2a52a1750ad28150aa49be7 /sys-fs/lvm2
parentVersion bump (diff)
downloadgentoo-2-94969f75bf531478166ae033ec93ead03f784a48.tar.gz
gentoo-2-94969f75bf531478166ae033ec93ead03f784a48.tar.bz2
gentoo-2-94969f75bf531478166ae033ec93ead03f784a48.zip
Bug #333557: POSIX compliance for lvm monitoring script.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs/lvm2')
-rw-r--r--sys-fs/lvm2/ChangeLog6
-rw-r--r--sys-fs/lvm2/files/lvm-monitoring.initd-2.02.67-r28
2 files changed, 9 insertions, 5 deletions
diff --git a/sys-fs/lvm2/ChangeLog b/sys-fs/lvm2/ChangeLog
index bfb988dede4d..a059b7bc12f1 100644
--- a/sys-fs/lvm2/ChangeLog
+++ b/sys-fs/lvm2/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-fs/lvm2
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/ChangeLog,v 1.223 2010/08/17 18:44:22 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/ChangeLog,v 1.224 2010/08/20 19:18:29 robbat2 Exp $
+
+ 20 Aug 2010; Robin H. Johnson <robbat2@gentoo.org>
+ files/lvm-monitoring.initd-2.02.67-r2:
+ Bug #333557: POSIX compliance for lvm monitoring script.
17 Aug 2010; Robin H. Johnson <robbat2@gentoo.org> lvm2-2.02.72.ebuild,
+files/lvm2-2.02.72-dynamic-static-ldflags.patch:
diff --git a/sys-fs/lvm2/files/lvm-monitoring.initd-2.02.67-r2 b/sys-fs/lvm2/files/lvm-monitoring.initd-2.02.67-r2
index f9c2cd6d3ff5..0b67f331bfb7 100644
--- a/sys-fs/lvm2/files/lvm-monitoring.initd-2.02.67-r2
+++ b/sys-fs/lvm2/files/lvm-monitoring.initd-2.02.67-r2
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/files/lvm-monitoring.initd-2.02.67-r2,v 1.2 2010/06/18 17:12:10 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/files/lvm-monitoring.initd-2.02.67-r2,v 1.3 2010/08/20 19:18:29 robbat2 Exp $
# This script is based on upstream file
# LVM2.2.02.67/scripts/lvm2_monitoring_init_red_hat.in
@@ -25,7 +25,7 @@ start() {
$VGCHANGE --monitor y --poll y $vg
ret2=$?
eend $ret2
- [[ $ret2 -ne 0 ]] && ret=$ret2
+ [ $ret2 -ne 0 ] && ret=$ret2
done
return $ret
}
@@ -40,7 +40,7 @@ stop() {
$VGCHANGE --monitor n $vg
ret2=$?
eend $ret2
- [[ $ret2 -ne 0 ]] && ret=$ret2
+ [ $ret2 -ne 0 ] && ret=$ret2
done
return $ret
}