diff --git a/scripts/auto_smanager_watcher.sh b/scripts/auto_smanager_watcher.sh index d6a5bd8..25b5b56 100755 --- a/scripts/auto_smanager_watcher.sh +++ b/scripts/auto_smanager_watcher.sh @@ -2,7 +2,7 @@ source /opt/crust/crust-node/scripts/utils.sh -local upgrade_pid=$(ps -ef | grep "/opt/crust/crust-node/scripts/auto_smanager.sh" | grep -v grep | awk '{print $2}') +upgrade_pid=$(ps -ef | grep "/opt/crust/crust-node/scripts/auto_smanager.sh" | grep -v grep | awk '{print $2}') if [ x"$upgrade_pid" = x"" ]; then log_info "[WARN] auto_smanager.sh script is not running! Run it now"