Fix for make error due to not checking daemon return value.