From fbe5b2784f80941eb2c9bf7849ca4c2ab9977f7a Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Thu, 3 Jul 2008 12:06:20 +0000 Subject: [PATCH] Remove custom locking code from gnt-instance The gnt-instance script doesn't run in the same process anymore, so we can't and don't have to unlock. Reviewed-by: ultrotter --- scripts/gnt-instance | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/gnt-instance b/scripts/gnt-instance index 45d7fd483..e9f4bcc8c 100755 --- a/scripts/gnt-instance +++ b/scripts/gnt-instance @@ -556,8 +556,6 @@ def ConnectToInstanceConsole(opts, args): if opts.show_command: print utils.ShellQuoteArgs(cmd) else: - # drop lock and exec so other commands can run while we have console - utils.Unlock("cmd") try: os.execvp(cmd[0], cmd) finally: -- GitLab