Avoid backticks and use $() instead.

pull/3136/head
Miguel Fonseca 2015-06-25 19:07:42 +01:00
parent b282e76f59
commit 7f98b5419b
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ function killproc() {
echo "Expected three arguments, e.g. $0 -p pidfile signal"
fi
pid=`cat $2`
pid=$(cat $2)
kill -s $3 $pid
}