diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2011-12-16 11:42:56 +0000 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2011-12-16 11:42:56 +0000 |
commit | 32e53e506d57b1e473c95455dc18e50bbdd88231 (patch) | |
tree | 5a3584f3844d126dae9c5010acb2c38fe4f9b857 /scripts/lvm2_monitoring_init_red_hat.in | |
parent | c6958856f8f72f4aadbbfb675c65e237d546c0b7 (diff) | |
download | lvm2-32e53e506d57b1e473c95455dc18e50bbdd88231.tar.gz |
Use also normalized output for vgchange command in lvm2-monitor init script.
Diffstat (limited to 'scripts/lvm2_monitoring_init_red_hat.in')
-rw-r--r-- | scripts/lvm2_monitoring_init_red_hat.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lvm2_monitoring_init_red_hat.in b/scripts/lvm2_monitoring_init_red_hat.in index 41d8c6fd8..cae652c90 100644 --- a/scripts/lvm2_monitoring_init_red_hat.in +++ b/scripts/lvm2_monitoring_init_red_hat.in @@ -51,7 +51,7 @@ start() VGSLIST=`$VGS --noheadings -o name --config 'log{command_names=0 prefix=" "}' 2> /dev/null` for vg in $VGSLIST do - action "Starting monitoring for VG $vg:" $VGCHANGE --monitor y --poll y $vg || ret=$? + action "Starting monitoring for VG $vg:" $VGCHANGE --monitor y --poll y --config 'log{command_names=0 prefix=" "}' $vg || ret=$? done return $ret @@ -69,7 +69,7 @@ stop() VGSLIST=`$VGS --noheadings -o name --config 'log{command_names=0 prefix=" "}' 2> /dev/null` for vg in $VGSLIST do - action "Stopping monitoring for VG $vg:" $VGCHANGE --monitor n $vg || ret=$? + action "Stopping monitoring for VG $vg:" $VGCHANGE --monitor n --config 'log{command_names=0 prefix=" "}' $vg || ret=$? done return $ret } |