}
if (myconfig->max == 0) myconfig->max = defconfig.max;
+ if (!myconfig->banner) myconfig->banner = strdup(defconfig.banner);
if (!myconfig->chroot) myconfig->chroot = strdup(defconfig.chroot);
if (!myconfig->nethack) myconfig->nethack = strdup(defconfig.nethack);
if (!myconfig->dglroot) myconfig->dglroot = strdup(defconfig.dglroot);
}
int
-main (void)
+main (int argc, char** argv)
{
/* for chroot and program execution */
char atrcfilename[81], *spool;
int userchoice = 0;
+ if (argc == 2)
+ config = strdup(argv[1]);
+
create_config();
/* coredumper */