[Ovirt-devel] avoid nonzero exit status from "make -f ovirt.mk status"
Perry N. Myers
pmyers at redhat.com
Fri Sep 5 16:18:26 UTC 2008
Jim Meyering wrote:
> Perry Myers reported that "make -f ovirt.mk status" fails,
> with output like this:
>
> # On branch next
> nothing to commit (working directory clean)
> # On branch next
> nothing to commit (working directory clean)
> # On branch next
> nothing to commit (working directory clean)
> # On branch next
> nothing to commit (working directory clean)
> # On branch next
> nothing to commit (working directory clean)
> # On branch next
> nothing to commit (working directory clean)
> make: *** [status] Error 1
>
> That's because the failure of "git status" was leaking
> out to the shell. This fixes it:
Ack :)
Perry
More information about the ovirt-devel
mailing list