aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xspawnctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/spawnctl b/spawnctl
index 72bed86..5ca5b77 100755
--- a/spawnctl
+++ b/spawnctl
@@ -168,7 +168,7 @@ forward_start() {
"remove"*)
line=$(echo "$cmd" | sed 's/remove\s*//g')
pid=$(grep "$line" /tmp/spawnctl-forward/status | awk '{ print $1 }')
- killall "$pid"
+ kill "$pid"
sed -i "/$pid/d"
esac
done