[Discuss] Ideas for solving a remove backup quandary

Steven Kurylo sk at infinitepigeons.org
Tue May 13 17:42:29 PDT 2008


>  Help?  In case it matters I am using BASH 3.2.17 (on OS X 10.5.2 but that
> shouldn't matter, should it?).  I will double-check tomorrow on my Ubuntu
> 8.04 box to verify whether or not this is an OS specific problem.  Or
> perhaps a BASH version problem?

I ran it on my system and it appear ssh isn't returning a pid to bash.
  Not sure why off hand.

Quick fix for the end of the script:

kill `ps a|grep 'ssh -f -p 10022 -C -N'|awk '{print $1}'`

-- 
Steven Kurylo


More information about the Discuss mailing list