From bbbbfb36ad36d65da64f288c4524ffae7ec6b218 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 18 Apr 2012 11:56:01 +0000 Subject: [PATCH] - remove backslash which made all vgchange calls void (passed to msg_ argument which ignored them) Changed files: lvm2.spec -> 1.195 pldize_lvm2_monitor.patch -> 1.4 --- lvm2.spec | 2 +- pldize_lvm2_monitor.patch | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lvm2.spec b/lvm2.spec index 29ae9d8..90947b7 100644 --- a/lvm2.spec +++ b/lvm2.spec @@ -43,7 +43,7 @@ Summary: The new version of Logical Volume Manager for Linux Summary(pl.UTF-8): Nowa wersja Logical Volume Managera dla Linuksa Name: lvm2 Version: 2.02.95 -Release: 2 +Release: 3 License: GPL v2 Group: Applications/System Source0: ftp://sources.redhat.com/pub/lvm2/LVM2.%{version}.tgz diff --git a/pldize_lvm2_monitor.patch b/pldize_lvm2_monitor.patch index caf16b8..a96fff0 100644 --- a/pldize_lvm2_monitor.patch +++ b/pldize_lvm2_monitor.patch @@ -10,7 +10,7 @@ for vg in $VGSLIST do - action "Starting monitoring for VG $vg:" $VGCHANGE --monitor y --poll y --config 'log{command_names=0 prefix=" "}' $vg || ret=$? -+ msg_starting "Starting monitoring for VG $vg:" \ ++ msg_starting "Starting monitoring for VG $vg:" + daemon $VGCHANGE --monitor y --poll y --config 'log{command_names=0 prefix=" "}' $vg || return $? done @@ -20,8 +20,8 @@ for vg in $VGSLIST do - action "Stopping monitoring for VG $vg:" $VGCHANGE --monitor n --config 'log{command_names=0 prefix=" "}' $vg || ret=$? -+ msg_stopping "Stopping monitoring for VG $vg:" \ -+ $VGCHANGE --monitor n --config 'log{command_names=0 prefix=" "}' $vg || return $? ++ msg_stopping "Stopping monitoring for VG $vg:" ++ daemon $VGCHANGE --monitor n --config 'log{command_names=0 prefix=" "}' $vg || return $? done return $ret } -- 2.44.0