Control: tag -1 +pending On Wed, Aug 02, 2017 at 10:26:12AM +1000, Vincent McIntyre wrote: >Tags: patch >Thanks > >Can this be fixed please? I wasted an hour tracking this down >while trying to resolve another issue. > > >--- lib/auto-lvm.sh.org 2017-08-02 10:24:35.773321165 +1000 >+++ lib/auto-lvm.sh 2017-08-02 10:24:49.709392154 +1000 >@@ -302,7 +302,7 @@ > defvgname="$RET" > > # Check that the volume group name is not in use >- if ! vg_get_info "$defvgname" && ! stat "/dev/$defvgname"; then >+ if ! vg_get_info "$defvgname" && [ ! -e "/dev/$defvgname" ]; >then > break > fi > noninteractive="bail_out vg_exists"
Cool, thanks for the patch. I've just pushed the fix into git now. -- Steve McIntyre, Cambridge, UK. st...@einval.com "You can't barbecue lettuce!" -- Ellie Crane