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 ()
{