@@@ more wip
[runlisp] / common.c
index 1c0b0ce..98438e4 100644 (file)
--- a/common.c
+++ b/common.c
@@ -292,7 +292,7 @@ int try_exec(struct argv *av, unsigned f)
     execvp(av->v[0], av->v);
     if (errno != ENOENT) {
       moan("failed to exec `%s': %s", av->v[0], strerror(errno));
-      _exit(2);
+      _exit(127);
     }
   }
 
@@ -322,7 +322,6 @@ void init_config(void)
   config_set_parent(builtin, 0);
   config_set_parent(common, builtin);
   config_set_parent(env, 0);
-  config_set_parent(toplevel, 0);
   config_read_env(&config, env);
 
   config_set_var(&config, builtin, CF_LITERAL,