mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 07:34:20 +00:00
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:
parent
35cc22a996
commit
e32873b594
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user