[PROXYPER] Return codes

Ivo Janssen ivo at ricardis.tudelft.nl
Mon Feb 22 15:17:53 EST 1999


Hello,

Do the -unlock and -repair functions return returncodes?
In case a proxy crashes, I have a crontab scheduled that checks if
the proxy is still up and if not, issues a 
proxyper -unlock
proxyper -repair
proxyper -detach

But two of these are unneccessary if it was a legal shutdown... So
what I want to do is only run -repair if -unlock returned -1 or so:

proxyper -unlock && proxyper -repair 

Do the proxies return returncodes and if so: What are they?

Ivo 

--
+---------------------------------------------------------------------
| IVO JANSSEN - ivo at ricardis.tudelft.nl - http://ivo.nu/
| Delft University of Technology - the Netherlands
| finger ivo at server.ricardis.tudelft.nl for PGP and more info
| Part of the world's largest computer: http://www.distributed.net/

--
To unsubscribe, send 'unsubscribe proxyper' to majordomo at lists.distributed.net



More information about the proxyper mailing list