summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdk-stage1/stage1.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mdk-stage1/stage1.c b/mdk-stage1/stage1.c
index 9ed4cc492..4c7b5e174 100644
--- a/mdk-stage1/stage1.c
+++ b/mdk-stage1/stage1.c
@@ -66,7 +66,7 @@ char * method_name;
void fatal_error(char *msg)
{
- printf("FATAL ERROR IN STAGE1: %s\n\nI can't recover from this.\n", msg);
+ printf("FATAL ERROR IN STAGE1: %s\n\nI can't recover from this.\nYou may reboot your system.\n", msg);
while (1);
}
@@ -75,6 +75,7 @@ void fatal_error(char *msg)
/* spawns a shell on console #2 */
static void spawn_shell(void)
{
+#ifdef SPAWN_SHELL
int fd;
pid_t pid;
char * shell_name = "/sbin/sash";
@@ -108,6 +109,7 @@ static void spawn_shell(void)
close(fd);
}
+#endif
}