bash: shellcheck

This commit is contained in:
Michael Grote 2021-11-09 11:34:49 +01:00
parent 25c87ee8cf
commit 486be8ff24

View file

@ -38,7 +38,7 @@ function psk {
if [ -z "$1" ]; then if [ -z "$1" ]; then
echo "Prozessname fehlt..." echo "Prozessname fehlt..."
else else
ps -ef | grep $1 | grep -v grep | awk '{ print $2 }' | xargs kill -9 ps -ef | grep "$1" | grep -v grep | awk '{ print $2 }' | xargs kill -9
fi fi
fi fi
} }
@ -86,5 +86,3 @@ function ssh {
fi fi
command ssh "$@" command ssh "$@"
} }