laziness, impatience, and hubris | |
PerlMonks |
Re: Pipe and return status through an "ssh"by Crackers2 (Parson) |
on Jun 10, 2008 at 18:54 UTC ( [id://691308]=note: print w/replies, xml ) | Need Help?? |
As the previous reply hints at, it has nothing to do with the ssh and everything with the ||. You can verify that it behaves the same way on a shell command line:
So either just remove the || echo FAIL part, or make it something like || { echo FAIL; exit 1 }
In Section
Seekers of Perl Wisdom
|
|