+ Fix error

This commit is contained in:
Quentin Garnier 2013-12-06 14:39:56 +01:00
parent ad11cdd3b8
commit 22ab7eac2c

View File

@ -773,6 +773,7 @@ sub listhost_get_str {
sub listdatastore_check_arg {
if (defined($OPTION{show_attributes})) {
print "<data><element>name</element></data>\n";
exit(0);
}
$OPTION{xml} = (defined($OPTION{xml}) ? 1 : 0);
return 0;