Commit e3298766 authored by Alexander Akulich's avatar Alexander Akulich

Fish: Use the right result code on 'sh' command submission

'### 000' is a placeholder. The actual success code is '### 200' (used in
fish.pl).
parent f1346d82
......@@ -802,7 +802,7 @@ bool fishProtocol::sendCommand(fish_command_type cmd, ...) {
realAlt.replace(QRegularExpression(QLatin1Char('%') + QString::number(i + 1)), arg);
}
QString s("#");
s.append(realCmd).append("\n ").append(realAlt).append(" 2>&1;echo '### 000'\n");
s.append(realCmd).append("\n ").append(realAlt).append(" 2>&1;echo '### 200'\n");
if (realCmd == "FISH")
s.prepend(" ");
commandList.append(s);
......
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