SUMMARY: strange while loop problem

From: Dave Markham (dave.markham@fjserv.net)
Date: Tue Mar 20 2007 - 12:38:10 EST


Thanks to John C Julian ( or julian john ) who reminded me i needed the
-n option to ssh otherwise it replaces the current process with itself.

I used to have this option so under this portion of the script testing
it worked, but i then removed it due to the -n option NOT working when
using rsync.

I had a variable called SSH_OPTS see which when passed to the connection
test bit is ok with the -n and works, but if passed to rsync it fails.

I have amended script to only have -n on the connection test now and all
is working fantastically.

Cheers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:41:47 EDT