diff options
Diffstat (limited to 'install.cpp')
-rw-r--r-- | install.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/install.cpp b/install.cpp index d3ab2136..959a7422 100644 --- a/install.cpp +++ b/install.cpp | |||
@@ -420,11 +420,7 @@ static int try_update_binary(const char* path, ZipArchiveHandle zip, bool* wipe_ | |||
420 | LOG(ERROR) << "invalid \"set_progress\" parameters: " << line; | 420 | LOG(ERROR) << "invalid \"set_progress\" parameters: " << line; |
421 | } | 421 | } |
422 | } else if (command == "ui_print") { | 422 | } else if (command == "ui_print") { |
423 | if (!args.empty()) { | 423 | ui->PrintOnScreenOnly("%s\n", args.c_str()); |
424 | ui->PrintOnScreenOnly("%s", args.c_str()); | ||
425 | } else { | ||
426 | ui->PrintOnScreenOnly("\n"); | ||
427 | } | ||
428 | fflush(stdout); | 424 | fflush(stdout); |
429 | } else if (command == "wipe_cache") { | 425 | } else if (command == "wipe_cache") { |
430 | *wipe_cache = true; | 426 | *wipe_cache = true; |