summaryrefslogtreecommitdiff
path: root/src/plugins/remotelinux
diff options
context:
space:
mode:
authorDaniel Teske <daniel.teske@digia.com>2014-01-22 09:25:51 +0100
committerhjk <hjk121@nokiamail.com>2014-01-22 11:40:04 +0100
commite578f9b87c4077bfdc76c79336ef142cdc7a8f4c (patch)
treed90e897d6078f0afae6b9799104f5748012fef3b /src/plugins/remotelinux
parent911cdc9188ce69b0db5685f13ab0843c93d1eca5 (diff)
downloadqt-creator-e578f9b87c4077bfdc76c79336ef142cdc7a8f4c.tar.gz
RemoteLinux: Unbreak stopping processes
Broke in 22599094b0d72e271ba4d8bad2c1587f9ce75c69 Change-Id: Iadd96a8fb078447db66e0392585da57b9d06200e Reviewed-by: hjk <hjk121@nokiamail.com> Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'src/plugins/remotelinux')
-rw-r--r--src/plugins/remotelinux/remotelinuxsignaloperation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/remotelinux/remotelinuxsignaloperation.cpp b/src/plugins/remotelinux/remotelinuxsignaloperation.cpp
index a926aafc3c..223a655ca6 100644
--- a/src/plugins/remotelinux/remotelinuxsignaloperation.cpp
+++ b/src/plugins/remotelinux/remotelinuxsignaloperation.cpp
@@ -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);
}