Skip to content

Commit

Permalink
don't fail on failed kill during installation
Browse files Browse the repository at this point in the history
  • Loading branch information
curusarn committed Dec 16, 2019
1 parent 5ee66ec commit b3b9678
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ touch ~/.resh_history.json

# Restarting resh daemon ...
if [ -f ~/.resh/resh.pid ]; then
kill -SIGTERM "$(cat ~/.resh/resh.pid)"
kill -SIGTERM "$(cat ~/.resh/resh.pid)" || true
rm ~/.resh/resh.pid
else
pkill -SIGTERM "resh-daemon" || true
Expand Down
1 change: 1 addition & 0 deletions scripts/rawinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,5 +109,6 @@ if ! scripts/install.sh; then
echo "You can rerun the installation by executing: (this will skip downloading)"
echo
echo "cd $PWD && scripts/install.sh"
echo
exit 1
fi

0 comments on commit b3b9678

Please sign in to comment.