On Fri, 2015-12-18 at 12:23 +0000, George Dunlap wrote: > This makes xl more useful in scripts. > > The strange thing about this is that the internal cd_insert function > *already* returned something appropriate, and cd-eject was using it, > but cd-insert wasn't. > > Also: > > * Rework cd_insert to return EXIT_FAILURE and EXIT_SUCCESS rather > than > magic constants > > * Use 'r' for non-libxl return code, as specified in CODING_STYLE > > Signed-off-by: George Dunlap > Reviewed-by: Dario Faggioli Dario -- <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)