зеркало из https://github.com/mozilla/gecko-dev.git
Should have been checking for a defined value, not a true value -- there is nothing to stop a failure from being '0', for instance. (The important thing is to be consistent with the SelectingServiceList code, really, and it uses defined().)
This commit is contained in:
Родитель
7c7a61f1e2
Коммит
333b70e6e1
|
@ -81,7 +81,7 @@ sub cmdSetup {
|
|||
$result = $app->getSelectingServiceList('setup.install')->setupInstall($app);
|
||||
}
|
||||
# report on the result
|
||||
if ($result) {
|
||||
if (defined($result)) {
|
||||
# if we failed, first report that then signal that
|
||||
# configuration has ended
|
||||
$self->dump(9, "Failed to setup because argument '$result' was missing.");
|
||||
|
|
Загрузка…
Ссылка в новой задаче