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