diff --git a/modules/sandbox/sandbox_utils.cpp b/modules/sandbox/sandbox_utils.cpp index edd51f0274c77345876861043bcc2bfd25e22774..90fd559fecef2951fe88f01cfe357b8bd2f4ec64 100644 --- a/modules/sandbox/sandbox_utils.cpp +++ b/modules/sandbox/sandbox_utils.cpp @@ -588,7 +588,7 @@ static std::string ReplaceClonePackageName(const AppSpawningCtx *appProperty, co tmpBundlePath = variablePackageName.str(); } - tmpSandboxPath = replace_all(tmpSandboxPath, g_variablePackageName, tmpBundlePath); + tmpSandboxPath = replace_all(tmpSandboxPath, g_clonePackageName, tmpBundlePath); APPSPAWN_LOGV("tmpSandboxPath %{public}s", tmpSandboxPath.c_str()); return tmpSandboxPath; }