mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-14 12:13:22 +00:00
Bug 788430 - Fix a minor bug in the MozillaMaintenanceService error handling. r=bbondy
This commit is contained in:
parent
b9432fd42c
commit
46b4e0d157
@ -293,7 +293,7 @@ ProcessSoftwareUpdateCommand(DWORD argc, LPWSTR *argv)
|
||||
|
||||
// We can only update update.status if argv[1] exists. argv[1] is
|
||||
// the directory where the update.status file exists.
|
||||
if (argc > 1 ||
|
||||
if (argc < 2 ||
|
||||
!WriteStatusFailure(argv[1],
|
||||
SERVICE_NOT_ENOUGH_COMMAND_LINE_ARGS)) {
|
||||
LOG(("Could not write update.status service update failure."
|
||||
|
Loading…
x
Reference in New Issue
Block a user