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:
ian%hixie.ch 2001-11-11 11:47:02 +00:00
Родитель 7c7a61f1e2
Коммит 333b70e6e1
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -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.");