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.
wip-fakessh-exit-status
Alex Willmer 7 years ago committed by David Wilson
parent e051cf0ea0
commit 53a8c59ae5

@ -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)

Loading…
Cancel
Save