Shell hot fix

Add a missing line that caused a stupid logic error that resulted in redundant ssh connections.