Skip to content

Commit

Permalink
Fix missing logs folder (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
LowEntropyBody committed Oct 20, 2020
1 parent 5720dfe commit 6b79548
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ install_crust_node()
local upgrade_pid=$(ps -ef | grep "/opt/crust/crust-node/scripts/upgrade.sh" | grep -v grep | awk '{print $2}')
if [ x"$upgrade_pid" != x"" ]; then
kill -9 $upgrade_pid
mkdir -p $installdir/logs
nohup $installdir/scripts/upgrade.sh &>$installdir/logs/upgrade.log &
if [ $? -ne 0 ]; then
log_err "[ERROR] Start crust-sworker upgrade failed"
Expand Down

0 comments on commit 6b79548

Please sign in to comment.