зеркало из https://github.com/mozilla/pjs.git
fix for #26317. fix by gayatrib, r=sspitzer. only call MigrateProfileInfo() when appropriate.
This commit is contained in:
Родитель
175266a25d
Коммит
ce96390186
|
@ -558,10 +558,11 @@ nsProfile::ProcessArgs(nsICmdLineService *cmdLineArgs,
|
|||
rv = cmdLineArgs->GetCmdLineValue(INSTALLER_CMD_LINE_ARG, &cmdResult);
|
||||
if (NS_SUCCEEDED(rv))
|
||||
{
|
||||
rv = MigrateProfileInfo();
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
if (cmdResult) {
|
||||
|
||||
rv = MigrateProfileInfo();
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
PRInt32 num4xProfiles = 0;
|
||||
rv = Get4xProfileCount(&num4xProfiles);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
|
Загрузка…
Ссылка в новой задаче