Added return codes for CLI daemon.