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

Re: [Ovirt-devel] avoid nonzero exit status from "make -f ovirt.mk status"



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


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