Skip to content
Snippets Groups Projects
Commit 4bed7fba authored by Bob Mottram's avatar Bob Mottram
Browse files

aux is needed

parent ccadfd69
No related branches found
No related tags found
No related merge requests found
......@@ -3584,10 +3584,10 @@ function update_app_settings {
# If the freedombone command is already running then kill its process
#shellcheck disable=SC2009
install_process=$(ps a | grep '/usr/local/bin/freedombone -c' | grep -v 'grep')
install_process=$(ps aux | grep '/usr/local/bin/freedombone -c' | grep -v 'grep')
if [ "$install_process" ]; then
if [[ "$install_process" != *'grep'* ]]; then
install_pid=$(echo "$install_process" | awk -F ' ' '{print $1}')
install_pid=$(echo "$install_process" | awk -F ' ' '{print $2}')
if [ "$install_pid" ]; then
#shellcheck disable=SC2086
pkill -9 $install_pid
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment