daemon: Use 'error' instead of 'perror' before calling 'abort'.