shellcheck

Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
Thomas Sjögren 2015-07-04 00:05:13 +02:00
parent 10ecf0282c
commit 675bbc84db

View file

@ -41,8 +41,8 @@ contains() {
get_command_line_args() {
PROC="$1"
for PID in `pgrep -x -o $PROC`
for PID in $(pgrep -x -o "$PROC")
do
cat /proc/$PID/cmdline | tr "\0" " "
tr "\0" " " < /proc/"$PID"/cmdline
done
}