XD-1759 Status on shell prompt is inconsistent