Commit e4128c9e e4128c9e5ebdafaea274caadb87a52a7a405243d by Sergey Poznyakoff

Minor fix.

* mailbox/mu_auth.c (mu_auth_runlist): Do not overwrite last
meaningful error code by ENOSYS.
1 parent 968b981b
...@@ -218,7 +218,9 @@ mu_auth_runlist (mu_list_t flist, struct mu_auth_data **return_data, ...@@ -218,7 +218,9 @@ mu_auth_runlist (mu_list_t flist, struct mu_auth_data **return_data,
218 status = rc; 218 status = rc;
219 break; 219 break;
220 } 220 }
221 else if (status != EAGAIN) 221 else if (rc == ENOSYS && status != 0)
222 /* nothing: do not overwrite last meaningful return code */;
223 else if (status != EAGAIN)
222 status = rc; 224 status = rc;
223 } 225 }
224 226
......