forked from qt-creator/qt-creator
RemoteLinux: Unbreak stopping processes
Broke in 22599094b0
Change-Id: Iadd96a8fb078447db66e0392585da57b9d06200e
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
This commit is contained in:
@@ -78,7 +78,7 @@ static QString signalProcessByNameCommandLine(const QString &filePath, int signa
|
||||
"cd /proc; for pid in `ls -d [0123456789]*`; "
|
||||
"do "
|
||||
"if [ \"`readlink /proc/$pid/exe`\" = \"%1\" ]; then "
|
||||
" kill %2 $pid;"
|
||||
" kill -%2 $pid;"
|
||||
"fi; "
|
||||
"done").arg(filePath).arg(signal);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user