Commit bff02614 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen

fix return statement in #if 0'd code

parent c504d28e
......@@ -2897,7 +2897,7 @@ ProFileEvaluator::Private::VisitReturn ProFileEvaluator::Private::evaluateCondit
case T_SYSTEM: {
if (args.count() != 1) {
evalError(fL1S("system(exec) requires one argument."));
return ReturnFalse;
return returnBool(system((QLatin1String("cd ")
+ IoUtils::shellQuote(currentDirectory())
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