[Bug 300825] Re: having to grep for no raid disks is a poor approach

2009-05-30 Thread Robert Collins
This isn't fully fixed, as dmraid-activate still greps for errors.
Raid_Name=$(dmraid -i -r -cr /dev/$Node_Name)
if [ $? ]; then
exit 0
fi

in dmraid-activate corrects it; I'm including this in my future debdiffs
for bug 376792, as a grep mismatch was affecting things.

-- 
having to grep for no raid disks is a poor approach
https://bugs.launchpad.net/bugs/300825
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 300825] Re: having to grep for no raid disks is a poor approach

2009-05-30 Thread Robert Collins
Uhm if [ 0 != $? ]; then ... obviously, ust having a thunko day :).

-- 
having to grep for no raid disks is a poor approach
https://bugs.launchpad.net/bugs/300825
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 300825] Re: having to grep for no raid disks is a poor approach

2009-02-12 Thread Colin Watson
Giuseppe: thanks for this. I'm using this to fix bug 325947.

-- 
having to grep for no raid disks is a poor approach
https://bugs.launchpad.net/bugs/300825
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 300825] Re: having to grep for no raid disks is a poor approach

2009-01-19 Thread Giuseppe Iuculano
dmraid (1.0.0.rc15-1~exp4) experimental; urgency=low

  * [e41f5e6] debian/patches/10_exit_code.dpatch: Fix exit-code for No
RAID disks and no block devices found errors (LP: #300825)


** Changed in: dmraid (Ubuntu)
   Status: New = Fix Released

-- 
having to grep for no raid disks is a poor approach
https://bugs.launchpad.net/bugs/300825
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 300825] Re: having to grep for no raid disks is a poor approach

2008-12-26 Thread Giuseppe Iuculano
Hi Colin,

I fixed[1] the exit-code for No RAID disks and no block devices
found errors.

[1] http://git.debian.org/?p=users/derevko-
guest/dmraid.git;a=commit;h=e41f5e6c8d435808a396d3e5d12b7e5c1987fe3d

Cheers,
Giuseppe.

-- 
having to grep for no raid disks is a poor approach
https://bugs.launchpad.net/bugs/300825
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs