Revision 58bc8fbc lib/client/gnt_os.py

b/lib/client/gnt_os.py
1 1
#
2 2
#
3 3

  
4
# Copyright (C) 2006, 2007, 2010 Google Inc.
4
# Copyright (C) 2006, 2007, 2010, 2013 Google Inc.
5 5
#
6 6
# This program is free software; you can redistribute it and/or modify
7 7
# it under the terms of the GNU General Public License as published by
......
45 45
  op = opcodes.OpOsDiagnose(output_fields=["name", "variants"], names=[])
46 46
  result = SubmitOpCode(op, opts=opts)
47 47

  
48
  if not result:
49
    ToStderr("Can't get the OS list")
50
    return 1
51

  
52 48
  if not opts.no_headers:
53 49
    headers = {"name": "Name"}
54 50
  else:

Also available in: Unified diff