Yes, right now the return is 7 if out of date, 0 (success) if up to date. The 7 is only to differentiate version check failures from python failures.

e.g.

./srcupdatecheck tf/steam.inf
ret=$?
if [ $ret -eq 0 ]; then
   echo Up to date
elif [ $ret -eq 7 ]; then
   echo Out of date
else
   echo Error checking up to date status
fi

- John


On 12/06/2011 03:51 AM, Marcel wrote:
Is there a list of the return codes?

Is it still "7" if the game needs an update?



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux

Reply via email to