configs: Add root redirect path in SE mode only when set
[gem5.git] / configs / common / Options.py
index 86523ee64bd45b5c1295f26e98ae533bcd96b001..71f9f142982bb7b642d0b46333956267d265c77a 100644 (file)
@@ -369,7 +369,7 @@ def addSEOptions(parser):
                       help="Redirect stdout to a file.")
     parser.add_option("--errout", default="",
                       help="Redirect stderr to a file.")
-    parser.add_option("--chroot", action="store", type="string", default="/",
+    parser.add_option("--chroot", action="store", type="string", default=None,
                       help="The chroot option allows a user to alter the "    \
                            "search path for processes running in SE mode. "   \
                            "Normally, the search path would begin at the "    \