This filter no longer does anything useful in this context. By
default it adds a pipeline with trailing cat process. In many
contexts, stdout of the process being run is still open so the cat
process will stay around and will stop onnode from exiting.
The filters should all go away because they are simply an example of
code that is trying to be too clever while causing unfortunate corner
cases.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
echo >&2 ; echo ">> NODE: $n <<" >&2
fi
{
- $ssh_cmd "$n" "$command" | stdout_filter
+ $ssh_cmd "$n" "$command"
} || retcode=$?
fi
done