Skip to content

Commit

Permalink
kill-matching often needs -9
Browse files Browse the repository at this point in the history
...so let's always use -9
  • Loading branch information
bendilley committed Mar 4, 2024
1 parent 35cb024 commit bf4ab41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/kill-matching
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ if (( ${#@} < 1 || ${#@} > 1 )); then
exit 2
fi

ps ax | grep "[^]]$1" | awk '{print $1}' | xargs kill
ps ax | grep "[^]]$1" | awk '{print $1}' | xargs kill -9

0 comments on commit bf4ab41

Please sign in to comment.