Fix native and bootstrap mode switch automatically
authorlihuanhuan <huanhuanx.li@intel.com>
Sat, 13 Apr 2013 06:22:37 +0000 (14:22 +0800)
committerGerrit Code Review <gerrit2@otctools.jf.intel.com>
Mon, 9 Sep 2013 05:24:23 +0000 (22:24 -0700)
Fixes: #1242
MIC should not fallback to native mode if bootstrap package can not be found

Change-Id: Ia682572aaaf9e028ea8e15f2d8082d0b6f1a781c

mic/rt_util.py

index e718c67..d8052f6 100644 (file)
@@ -84,7 +84,7 @@ def bootstrap_mic(argv=None):
 
     except errors.BootstrapError, err:
         msger.warning('\n%s' % err)
-        if msger.ask("Switch to native mode and continue?"):
+        if msger.ask("Switch to native mode and continue?", False):
             return
         raise
     except RuntimeError, err: