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

Variable name

parent 0e628aa3
No related branches found
No related tags found
No related merge requests found
......@@ -484,8 +484,8 @@ function check_for_existing_processes {
echo " process_exists=\$(ps a | grep \"\$process_name\" | grep -v 'grep')";
echo " if [ \"\$process_exists\" ]; then";
echo " if [[ \"\$process_exists\" != *'grep'* ]]; then";
echo " format_pid=\$(echo \"\$process_exists\" | awk -F ' ' '{print \$1}')";
echo " if [ \"\$format_pid\" ]; then";
echo " process_id=\$(echo \"\$process_exists\" | awk -F ' ' '{print \$1}')";
echo " if [ \"\$process_id\" ]; then";
echo " exit 0";
echo ' fi';
echo ' fi';
......
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