Commit ad7d4859 authored by Olav Kvittem's avatar Olav Kvittem
Browse files

mistyped option

parent 8a92a346
Pipeline #40454 passed with stages
in 1 minute and 4 seconds
......@@ -24,7 +24,7 @@ kill_family(){
cmd="$1"
pid=$(pgrep -u $USER -f "$cmd")
if test -n "$pid"; then
ps -u $USER -o ppid,pid | awk -v pid=$pid 'pid == $1 {printf "%d ",$2}' | xargs kill -r
ps -u $USER -o ppid,pid | awk -v pid=$pid 'pid == $1 {printf "%d ",$2}' | xargs -r kill
fi
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment