Skip to content

Commit

Permalink
Fix a syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
wuhaixian1984 committed May 15, 2024
1 parent e6c2868 commit 5f65358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/auto_smanager_watcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 5f65358

Please sign in to comment.