Revision 34290825

b/lib/cmdlib.py
855 855
      feedback_fn("  - NOTICE: %d non-redundant instance(s) found."
856 856
                  % len(i_non_redundant))
857 857

  
858
    return int(bad)
858
    return not bad
859 859

  
860 860
  def HooksCallBack(self, phase, hooks_results, feedback_fn, lu_result):
861 861
    """Analize the post-hooks' result, handle it, and send some
b/scripts/gnt-cluster
221 221
  if opts.skip_nplusone_mem:
222 222
    skip_checks.append(constants.VERIFY_NPLUSONE_MEM)
223 223
  op = opcodes.OpVerifyCluster(skip_checks=skip_checks)
224
  result = SubmitOpCode(op)
225
  return result
224
  if SubmitOpCode(op):
225
    return 0
226
  else:
227
    return 1
226 228

  
227 229

  
228 230
def VerifyDisks(opts, args):

Also available in: Unified diff