Michael Pasternak has uploaded a new change for review. Change subject: cli: shell does not exit shell when using an external file with commands using -f option ......................................................................
cli: shell does not exit shell when using an external file with commands using -f option Change-Id: I38e41185d2f3016536f6791bb2d8bdf0f28be0d9 Signed-off-by: Michael Pasternak <[email protected]> --- M src/ovirtcli/shell/engineshell.py 1 file changed, 1 insertion(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine-cli refs/changes/97/7397/1 diff --git a/src/ovirtcli/shell/engineshell.py b/src/ovirtcli/shell/engineshell.py index 912c115..954cb3c 100644 --- a/src/ovirtcli/shell/engineshell.py +++ b/src/ovirtcli/shell/engineshell.py @@ -268,8 +268,7 @@ exit """ - self.emptyline(no_prompt=True) - return True + sys.exit(0) def do_help(self, args): """\ -- To view, visit http://gerrit.ovirt.org/7397 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I38e41185d2f3016536f6791bb2d8bdf0f28be0d9 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine-cli Gerrit-Branch: master Gerrit-Owner: Michael Pasternak <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
