I had also this problem and now I'm using regex for this.
UpdateSuccessRegex = { HLDS : re.compile(r'.*up to date'),
CMD : re.compile(r'.*Success\!'),
UDT : re.compile(r'.*[uU]p to date\.'),
UDTA : re.compile(r'.*[uU]p to date\.')
}
CMD = SteamCMD
UDT & UDTA = UpdateTool
If not success -> Error
2013/4/15 Erik-jan Riemers <[email protected]>
> I mentioned this several times, including on the beta forum I believe. No
> reply.
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Peter
> Reinhold
> Sent: maandag 15 april 2013 21:34
> To: Source Linux Mailinglist
> Subject: [hlds_linux] Did anyone find a fix for the steamcmd.sh exit 0
> problem?
>
> I've started doing some scripts for migration and future updates of TF2,
> post SteamPipe update, and have run into the steamcmd.sh always exiting
> with 0, even when it fails.
>
> Did anyone find a solution for this? Seeing that at least one of my
> servers are having serious issues logging onto Steam anonymously, I would
> really like to be able to retry, and not continue with updates when the
> server haven't been updated at all.
>
>
> /Peter
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux