diff --git a/src/machine.cpp b/src/machine.cpp index 838564b5ef..bdfdef42a3 100644 --- a/src/machine.cpp +++ b/src/machine.cpp @@ -2566,7 +2566,7 @@ Thread::init() enter(this, ActiveState); - if (image and image) { + if (image and code) { m->processor->boot(this, image, code); } else { boot(this);