diff --git a/topspeedserver.sh b/topspeedserver.sh index dd4753e..e201b03 100755 --- a/topspeedserver.sh +++ b/topspeedserver.sh @@ -13,5 +13,5 @@ if ! [[ "${server}" =~ ^[0-9.]*$ ]]; then fi ip="${ip:-${server}}" -sed "s/^Multiplayer=.*/Multiplayer=${ip}/" "${path}/TopSpeed.cfg" +sed -i "s/^Multiplayer=.*/Multiplayer=${ip}/" "${path}/TopSpeed.cfg" exit 0