Skip to content

Commit

Permalink
edit exit cause for _compressLogFiles when no error.
Browse files Browse the repository at this point in the history
  • Loading branch information
herve-er committed May 8, 2024
1 parent 36baa8a commit 6b02f2c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/libcommon/utility/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,6 @@ typedef enum {
ExitCauseNoSearchPermission,
ExitCauseNotFound,
ExitCauseQuotaExceeded


} ExitCause;

// Conflict types ordered by priority
Expand Down
2 changes: 1 addition & 1 deletion src/server/logarchiver.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class LogArchiver {
* This method will not create an archive, it will only compress the files in the directory.
* The compressed files will have the same name as the original files with the .gz extension.
* \param directoryToCompress The directory containing the log files to compress.
* \param exitCause The exit cause to be filled in case of error.
* \param exitCause The exit cause to be filled in case of error. If no error occurred, it will be set to ExitCauseUnknown;
* \param progressCallback The callback to be called with the progress percentage.
* \return The exit code of the operation.
*/
Expand Down

0 comments on commit 6b02f2c

Please sign in to comment.