There already is some kind of exit code behavior. I know it returns 
non-zero when an update is released:

$ ./steam
Checking bootstrapper version ...
Getting version 32 of Steam HLDS Update Tool
Downloading. . . . . . . . . . . .Steam Linux Client updated, please 
retry the command
$ echo $?
1

And when it fails to update a directory:

$ ./steam -dir bob -command update -game tf
Checking bootstrapper version ...
Updating Installation
Cannot open output file 'bob/InstallRecord.blob'
$ echo $?
1

And also when it was getting that Connection Reset error, it was 
returning non-zero.

- Neph

Marcel wrote:
> kama schrieb:
>    
>> Like:
>> 0 = exited normally
>> 1 = new steam binary have been downloaded please rerun steam.
>> 2 = connection lost to content server
>> 255 = an error occured
>>      
>
> That would be really cool - especially idea for exit code 1.
>
> - Marcel
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>    


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

Reply via email to