Remove unused variable noticed by Codacy

Removed the unused exit_code variable
pull/1099/merge
Steve Penrod 2017-09-27 22:57:19 -07:00
parent f0086d8881
commit 37a798385e
1 changed files with 2 additions and 3 deletions

View File

@ -51,7 +51,7 @@ function end-process() {
if process-running $1 ; then
pid=$( ps aux | grep "[p]ython .*${1}/main.py" | awk '{print $2}' )
kill ${pid}
c=1
while [ $c -le 20 ]
do
@ -62,7 +62,7 @@ function end-process() {
c=999 # end loop
fi
done
if process-running $1 ; then
kill -9 ${pid}
fi
@ -99,7 +99,6 @@ case ${OPT} in
*)
help
exit_code=0
;;
esac