fixed a bug that caused the udo to exit when an edit command was processed

Signed-off-by: Nicholas Lum <nicholaslum444@hotmail.com>