Added error checking
Added error checking

GameServerManagers/LinuxGSM,GameServerManagers/LinuxGSM,zunnu/linuxgsm,Maxximou5/linuxgameservers,Sodierlow/linuxgsm,dgibbs64/linuxgsm,Maxximou5/linuxgameservers,Sodierlow/linuxgsm,dgibbs64/linuxgsm,zunnu/linuxgsm