diff options
author | Mark Palange (Mani) <palange@lindenlab.com> | 2010-11-15 14:38:13 -0800 |
---|---|---|
committer | Mark Palange (Mani) <palange@lindenlab.com> | 2010-11-15 14:38:13 -0800 |
commit | 3e95634aaf89a5ecd12d7e08d96679cbb3d1bba8 (patch) | |
tree | 117222bf666e577e517bdec4f99bf6a5f0d66ab3 /indra/viewer_components/updater/llupdateinstaller.cpp | |
parent | 35fc90e8aaebc10a5a01c58247c29c8103220578 (diff) | |
parent | f47c42bb10cd3291ce966be7b209b422646dff19 (diff) |
merge
Diffstat (limited to 'indra/viewer_components/updater/llupdateinstaller.cpp')
-rw-r--r-- | indra/viewer_components/updater/llupdateinstaller.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/viewer_components/updater/llupdateinstaller.cpp b/indra/viewer_components/updater/llupdateinstaller.cpp index 10d5edc6a0..6e69bcf28b 100644 --- a/indra/viewer_components/updater/llupdateinstaller.cpp +++ b/indra/viewer_components/updater/llupdateinstaller.cpp @@ -72,8 +72,19 @@ int ll_install_update(std::string const & script, std::string const & updatePath LLProcessLauncher launcher; launcher.setExecutable(actualScriptPath); launcher.addArgument(updatePath); + launcher.addArgument(ll_install_failed_marker_path().c_str()); int result = launcher.launch(); launcher.orphan(); return result; } + + +std::string const & ll_install_failed_marker_path(void) +{ + static std::string path; + if(path.empty()) { + path = gDirUtilp->getExpandedFilename(LL_PATH_LOGS, "SecondLifeInstallFailed.marker"); + } + return path; +} |