Skip to content

Commit db2a6e7

Browse files
committed
Merge pull request #6425 from BOINC/dpa_docker22
client (Mac): fix Podman detection (must escape spaces in env args)
1 parent 19bf2b8 commit db2a6e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/hostinfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ const char* docker_type_str(DOCKER_TYPE type) {
378378
const char* docker_cmd_prefix(DOCKER_TYPE type) {
379379
static char buf[256];
380380
if (type == PODMAN) {
381-
const char* dir = "/Library/Application Support/BOINC Data/podman";
381+
const char* dir = "/Library/Application\ Support/BOINC\ Data/podman";
382382
// must end w/ space
383383
snprintf(buf, sizeof(buf),
384384
"env XDG_CONFIG_HOME=\"%s\" XDG_DATA_HOME=\"%s\" ",

0 commit comments

Comments
 (0)