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 c15bd7201..2aa584cbf 100644
--- a/mdk-stage1/stage1.c
+++ b/mdk-stage1/stage1.c
@@ -607,8 +607,10 @@ int main(int argc __attribute__ ((unused)), char **argv __attribute__ ((unused))
finish_frontend();
return 0;
#else
- if (getenv("DEBUGSTAGE1"))
+ if (getenv("DEBUGSTAGE1")) {
+ set_param(MODE_DEBUGSTAGE1);
set_param(MODE_TESTING);
+ }
if (!IS_TESTING) {
mkdir(SLASH_LOCATION, 0755);