Commit fbe5b278 authored by Iustin Pop's avatar Iustin Pop
Browse files

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
parent cc2bea8b
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment