aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2023-04-07 10:36:05 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2023-04-07 10:36:05 +0200
commitc102840a86e92bf68cc4be625db9f3e50050af79 (patch)
treed80b6d511458cf248d471daeca50266b157adb80
parent1e9ff4a9d00a8b5b1712dbcbf5103d51231f0cbd (diff)
fix removeHEADmaster
-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