Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions client/hostinfo_unix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1238,7 +1238,7 @@ int HOST_INFO::get_virtualbox_version() {
//
bool HOST_INFO::get_docker_version_aux(DOCKER_TYPE type){
bool ret = false;
string cmd = string(docker_cli_prog(type)) + " --version";
string cmd = string(docker_cli_prog(type)) + " --version 2>/dev/null";
FILE* f = popen(cmd.c_str(), "r");
if (f) {
char buf[256];
Expand Down Expand Up @@ -1269,7 +1269,7 @@ bool HOST_INFO::get_docker_version(){
//
bool HOST_INFO::get_docker_compose_version_aux(DOCKER_TYPE type){
bool ret = false;
string cmd = string(docker_cli_prog(type)) + " compose version";
string cmd = string(docker_cli_prog(type)) + " compose version 2>/dev/null";
FILE* f = popen(cmd.c_str(), "r");
if (f) {
char buf[256];
Expand Down