Skip to content

Commit

Permalink
Kill any hung steamcmd processes (lloesche#547)
Browse files Browse the repository at this point in the history
  • Loading branch information
lloesche authored Dec 22, 2022
1 parent af0514c commit 5bc8d5d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions valheim-updater
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ check_mod() {


download_valheim() {
# Kill any hung steamcmd processes
pkill -TERM steamcmd || true
sleep 1
pkill -KILL steamcmd || true
# shellcheck disable=SC2086
/opt/steamcmd/steamcmd.sh +force_install_dir "$valheim_download_path" +login anonymous +app_update 896660 $STEAMCMD_ARGS +quit
}
Expand Down

0 comments on commit 5bc8d5d

Please sign in to comment.