don't fail on failed kill during installation

pull/58/head v2.3.7
Simon Let 6 years ago
parent 5ee66ec596
commit b3b9678277
  1. 2
      scripts/install.sh
  2. 1
      scripts/rawinstall.sh

@ -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

@ -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
Loading…
Cancel
Save