Commit 53a8c59a authored by Alex Willmer's avatar Alex Willmer Committed by David Wilson

parent: Remove redudant os.exit() in first stage

SSH command size: 461 (-8 bytes)
Preamble size: 8946 (no change)

Since python has reached the last statement this should occur anyway.
parent e051cf0e
...@@ -341,7 +341,6 @@ class Stream(mitogen.core.Stream): ...@@ -341,7 +341,6 @@ class Stream(mitogen.core.Stream):
os.fdopen(W,'w',0).write(C) os.fdopen(W,'w',0).write(C)
os.fdopen(w,'w',0).write('%s\n'%len(C)+C) os.fdopen(w,'w',0).write('%s\n'%len(C)+C)
os.write(1,'EC1\n') os.write(1,'EC1\n')
sys.exit(0)
def get_boot_command(self): def get_boot_command(self):
source = inspect.getsource(self._first_stage) source = inspect.getsource(self._first_stage)
......
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