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().)
git-svn-id: svn://10.0.0.236/trunk@107889 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
0d2c3d6058
commit
3176c0d2a4
@ -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.");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user