Bug#320452: vconfig doesn't set exit status on error

2005-10-18 Thread Eric Lammerts
Loic Minier wrote: On ven, jui 29, 2005, Eric Lammerts wrote: Vconfig doesn't report error conditions in its exit status. This is quite unpleasant in scripts. I agree with the complaint and with the fix. Thanks for the patch, I'll use it on my site. This is already fixed in upstream 1.9,

Bug#320452: vconfig doesn't set exit status on error

2005-10-18 Thread Loic Minier
tags #320452 + patch thanks Hi, On ven, jui 29, 2005, Eric Lammerts wrote: > Vconfig doesn't report error conditions in its exit status. This is > quite unpleasant in scripts. Example: > # vconfig add eth1 2 && echo foobar > ERROR: trying to add VLAN #2 to IF -:eth1:- error: Invalid argu

Bug#320452: vconfig doesn't set exit status on error

2005-07-29 Thread Eric Lammerts
Package: vlan Version: 1.8-2 Vconfig doesn't report error conditions in its exit status. This is quite unpleasant in scripts. Example: # vconfig add eth1 2 && echo foobar ERROR: trying to add VLAN #2 to IF -:eth1:- error: Invalid argument foobar I suggest applying the patch below. thanks, Er