[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] vgs result code error



On Tue, Jul 21, 2009 at 04:41:46AM -0500, Ron Johnson wrote:
> Debian Sid's 2.02.44-3 returns a non-zero code, so either RH fixed it 
> upstream, or Debian patched it...

> # vgs /dev/sdc1
>   WARNING: Ignoring duplicate config node: filter (seeking filter)
>   Volume group "sdc1" not found
> # echo $?
> 5

That's a *different* error case that works correctly.

Yes, I agree that the original case mentioned should give EINVALID_CMD_LINE
instead of ECMD_PROCESSED.

Alasdair


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]