|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
[Xen-devel] [PATCH] Fix return code of xentop
 
Hi,
When I tested the xentop with a wrong option, the xentop returned 
the return code 0. 
# xentop --abc
xentop: unrecognized option `--abc'
Usage: xentop [OPTION]
Displays ongoing information about xen vm resources 
<snip>
# echo $?
0
If the wrong option was specified, I think that the xentop had 
better return the return code 1 (or not 0). This patch fixes 
the return code of the xentop when the wrong option was specified. 
Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Best regards,
 Kan
 
 
xentop.patch 
Description: Binary data 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread> |  
- [Xen-devel] [PATCH] Fix return code of xentop,
Masaki Kanno <=
  
 |  
  
 | 
    | 
  
  
    |   | 
    |