mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +00:00
Fix typo
GIT_SILENT
This commit is contained in:
parent
87e8d0ba5f
commit
3dcfb75362
|
@ -175,7 +175,7 @@ void TerminalPanel::sendCdToTerminal(const QString& dir, HistoryPolicy addToHist
|
||||||
// The TerminalV2 interface does not provide a way to delete the
|
// The TerminalV2 interface does not provide a way to delete the
|
||||||
// current line before sending a new input. This is mandatory,
|
// current line before sending a new input. This is mandatory,
|
||||||
// otherwise sending a 'cd x' to a existing 'rm -rf *' might
|
// otherwise sending a 'cd x' to a existing 'rm -rf *' might
|
||||||
// result in data loss. As workaround SIGINT is send.
|
// result in data loss. As workaround SIGINT is sent.
|
||||||
const int processId = m_terminal->terminalProcessId();
|
const int processId = m_terminal->terminalProcessId();
|
||||||
if (processId > 0) {
|
if (processId > 0) {
|
||||||
kill(processId, SIGINT);
|
kill(processId, SIGINT);
|
||||||
|
|
Loading…
Reference in a new issue