daemon: Make the RUN_PARTED macro take an error statement.
authorRichard Jones <rjones@redhat.com>
Sat, 10 Apr 2010 12:16:19 +0000 (13:16 +0100)
committerRichard Jones <rjones@redhat.com>
Mon, 12 Apr 2010 18:04:01 +0000 (19:04 +0100)
commitb15faa431906acfee94245c2d951ea285eaf0d0b
tree2977fd4abd63a09047428e51e3cb6b8fbf19e45c
parent1dfa17eb370d01ac7fcc6948b5e0fd55a17a4816
daemon: Make the RUN_PARTED macro take an error statement.

This allows us to make the RUN_PARTED macro do something else
along the error path, other than just returning -1.
(cherry picked from commit 440ad646cdf31bdb5ad2bc92fc51fa6df3fb9c63)
daemon/parted.c