SIGPIPE not properly reset with 'trap - PIPE'

2008-12-10 Thread Ralf Wildenhues
Hello bug-bash readers, I noticed the following bash bug when using gnulib-tool. The script below outputs foo: line 20: echo: write error: Broken pipe foo: line 21: echo: write error: Broken pipe with bash 3.2.48(5)-release on GNU/Linux, whereas I think it should be silent. Please note that th

Re: how to know if a command was successful on remote server

2008-12-10 Thread Ken Irving
On Wed, Dec 10, 2008 at 08:48:57AM -0800, Dolphin06 wrote: > > Hello i m sending command to remote server, in my script on my local machine. > I would like to know how can i return a value if the command on the remote > server failed. > on my script on local machine : > > #! /bin/bash > > #how c

how to know if a command was successful on remote server

2008-12-10 Thread Dolphin06
Hello i m sending command to remote server, in my script on my local machine. I would like to know how can i return a value if the command on the remote server failed. on my script on local machine : #! /bin/bash #how can i get a returned value from this ? ssh [EMAIL PROTECTED] remotescript para