[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] xm, no such domain error code...
Shaun R. writes ("[Xen-devel] xm, no such domain error code..."): > Right now xm will return 1 if you run `xm list non_existant_domain` > > Wouldnt it be a better idea to have a specific error code for this error so > that scripts wrapping around xm can better determine if the domain does not > exist or if xm just failed for whatever reason? Yes. Probably the right thing is to keep 1 for general failure, since it will be too hard to track down all of the places it is used. So we should start new specific exit codes at 10 or 16 or something. Would you care to prepare a suitable patch ? I haven't looked at the code recently but perhaps you can transform the domain not found exception into a specific exit code in a single place. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |