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 e718c67dd2d45411d071f795270f8e6970321d5c..d8052f66ed5f5efce0d491963c21a5dd6f274b5b 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: