diff options
-rwxr-xr-x | scripts/runqemu | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index 295c8b1b60..08f4cfe4ca 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -474,14 +474,11 @@ class BaseConfig(object): | |||
474 | "Try 'runqemu help' on how to use it" % \ | 474 | "Try 'runqemu help' on how to use it" % \ |
475 | (unknown_arg, arg)) | 475 | (unknown_arg, arg)) |
476 | # Check to make sure it is a valid machine | 476 | # Check to make sure it is a valid machine |
477 | if unknown_arg: | 477 | if unknown_arg and self.get('MACHINE') != unknown_arg: |
478 | if self.get('MACHINE') == unknown_arg: | ||
479 | return | ||
480 | if self.get('DEPLOY_DIR_IMAGE'): | 478 | if self.get('DEPLOY_DIR_IMAGE'): |
481 | machine = os.path.basename(self.get('DEPLOY_DIR_IMAGE')) | 479 | machine = os.path.basename(self.get('DEPLOY_DIR_IMAGE')) |
482 | if unknown_arg == machine: | 480 | if unknown_arg == machine: |
483 | self.set("MACHINE", machine) | 481 | self.set("MACHINE", machine) |
484 | return | ||
485 | 482 | ||
486 | self.check_arg_machine(unknown_arg) | 483 | self.check_arg_machine(unknown_arg) |
487 | 484 | ||