Bug 1182395 - Don't error out when -p is not given an argument in RemoteCommandLine. r=bsmedberg

Leave it to the normal command line handling to handle the situation and display
the profile manager.
This commit is contained in:
Mike Hommey 2015-07-15 10:31:59 +09:00
Родитель 35cc22a996
Коммит e32873b594
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -1791,8 +1791,8 @@ RemoteCommandLine(const char* aDesktopStartupID)
ar = CheckArg("p", false, &profile, false);
if (ar == ARG_BAD) {
PR_fprintf(PR_STDERR, "Error: argument -p requires a profile name\n");
return REMOTE_ARG_BAD;
// Leave it to the normal command line handling to handle this situation.
return REMOTE_NOT_FOUND;
}
const char *temp = nullptr;