Skip to content

Commit

Permalink
fix(deployment_tasks): do not clean up log when not specify log dir (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiredPlanck authored Aug 15, 2024
1 parent 0cdce16 commit cdab893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rime/lever/deployment_tasks.cc
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ bool CleanupTrash::Run(Deployer* deployer) {
bool CleanOldLogFiles::Run(Deployer* deployer) {
bool success = true;
#ifdef RIME_ENABLE_LOGGING
if (FLAGS_logtostderr) {
if (FLAGS_logtostderr || FLAGS_log_dir.empty()) {
return success;
}

Expand Down

0 comments on commit cdab893

Please sign in to comment.