fix pskill
This commit is contained in:
parent
8846ddbb8c
commit
131744424a
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ mkv-fixtitles () {
|
||||||
psg () { ps axu | grep -v grep | grep -i $* } # hledání v běžících procesech
|
psg () { ps axu | grep -v grep | grep -i $* } # hledání v běžících procesech
|
||||||
|
|
||||||
pskill () {
|
pskill () {
|
||||||
pids=($(psg $1|awk '{print $1}'))
|
pids=($(psg $1|awk '{print $2}'))
|
||||||
|
|
||||||
for pid in $pids; do
|
for pid in $pids; do
|
||||||
echo "Killing $pid..."
|
echo "Killing $pid..."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue