change pipe to end

Signed-off-by: TZ <atian25@qq.com>