simplify usage of exit code when checking if interface_new is in used.