Hello,

I'm using shell script to create my user, for testing if the user exist I just do a :

$ pts membership newuser

The problem is that pts always set the return variable to 0.
To bypass that I just pipe the result to wc -l because the error is writing on fd 2, wc doesn't count this.

Is there a reason for always returning 0 ?

P.S. : By the way I'm using Openafs 1.4.4

Thanks.

--
Emmanuel Vadot          System & Network Administrator [root & bocal]
[EMAIL PROTECTED]     14-16 rue Voltaire 94270 Le Kremlin-Bicetre
01 44 08 01 91          06 83 14 62 92

_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to