Denis Barbier wrote: > On Mon, Dec 08, 2003 at 11:17:16PM +0000, Joey Hess wrote: > [...] > > + * Make tzsetup exit 30 if backed up past its start. > > + * Similar changes to finish, hostname, intro, pkgsel, pon. > > + * Bugs filed on console-data, passwd, exim4-config, to get them to exit > > + 30 appropriatly as well. This leaves only apt-get that in general you > > + cannot back up from. > > + * Turn on capb backup for all of base-config. > > + * Make base-config itself exit 30 if you back up from the main menu. > [...] > > Hmmm I thought that config scripts did exit 10 in such cases, and > this is indeed the expected value in main-menu.c (l. 548): > if (ret == 10) > di_log(DI_LOG_LEVEL_INFO, "Menu item '%s' succeeded but requested to be left > unconfigured.", p->p.package); > else > di_log(DI_LOG_LEVEL_WARNING, "Menu item '%s' failed.", p->p.package); >
I guess you're right. I wonder why 10 was chosen instead of 30, 30 seems more natural. I'll try to make base-config more consistent. -- see shy jo
signature.asc
Description: Digital signature