Commit 6c341389 6c3413894c9ad33bb866cb018d7da154b72c7fab by Sergey Poznyakoff

Return OK response unless something grave has happened

1 parent 288f1e93
...@@ -60,5 +60,7 @@ imap4d_lsub (struct imap4d_command *command, char *arg) ...@@ -60,5 +60,7 @@ imap4d_lsub (struct imap4d_command *command, char *arg)
60 fclose (fp); 60 fclose (fp);
61 return util_finish (command, RESP_OK, "Completed"); 61 return util_finish (command, RESP_OK, "Completed");
62 } 62 }
63 else if (errno == ENOENT)
64 return util_finish (command, RESP_OK, "Completed");
63 return util_finish (command, RESP_NO, "Can not list subscriber"); 65 return util_finish (command, RESP_NO, "Can not list subscriber");
64 } 66 }
......