pull exit fix from ifconfig branch