Output message when insufficient disk space detected

This commit is contained in:
Ben Peddell 2017-12-17 02:45:27 +10:00
parent 24e9e2954d
commit 9a854fbb94

View File

@ -1397,6 +1397,8 @@ doInstall() {
runSteamCMDAppUpdate "$arkserverroot" validate
if [ $? -eq 5 ]; then
echo "User ${steamlogin:-anonymous} login failed - please login to steamcmd manually"
elif [ $? -eq 8 ]; then
echo "Insufficient disk space to install the ARK server"
fi
# the current version should be the last version. We set our version
instver="$(getCurrentVersion)"