|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
md+openbsd_misc
mailq.de
Date: Fri Aug 06 2010 - 05:48:03 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
I like getting the correct exitcodes from my call to ssh when running
through wssh.
If found useful could be applied to the other w...'s too.
-Mischa
Index: ksh.kshrc
===================================================================
RCS file: /cvs/src/etc/ksh.kshrc,v
retrieving revision 1.14
diff -u -r1.14 ksh.kshrc
--- ksh.kshrc 7 Aug 2009 09:05:24 -0000 1.14
+++ ksh.kshrc 6 Aug 2010 10:44:27 -0000

-103,8 +103,10 
wssh ()
{
"ssh" "$
"
+ typeset r=$?
eval istripe
eval stripe
+ return $r
}
wtelnet ()
{
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]