Commit bd0f0aa1 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

fix return value of error() & co

parent a03f8643
......@@ -2208,7 +2208,8 @@ ProItem::ProItemReturn ProFileEvaluator::Private::evaluateConditionalFunction(
}
QString msg = fixEnvVariables(args.first());
q->fileMessage(QString::fromLatin1("Project %1: %2").arg(function.toUpper(), msg));
return ProItem::ReturnFalse;
// ### Consider real termination in non-cumulative mode
return returnBool(function != QLatin1String("error"));
}
#if 0 // Way too dangerous to enable.
case T_SYSTEM: {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment