diff options
Diffstat (limited to 'cliutils.c')
-rw-r--r-- | cliutils.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cliutils.c b/cliutils.c index 5edecc51e..772a105ec 100644 --- a/cliutils.c +++ b/cliutils.c @@ -18,7 +18,7 @@ static pid_t pipeChild = 0; RPM_GNUC_NORETURN void argerror(const char * desc) { - fprintf(stderr, _("%s: %s\n"), __progname, desc); + fprintf(stderr, _("%s: %s\n"), xgetprogname(), desc); exit(EXIT_FAILURE); } @@ -55,7 +55,6 @@ int initPipe(void) } if (!(pipeChild = fork())) { - (void) signal(SIGPIPE, SIG_DFL); (void) close(p[1]); (void) dup2(p[0], STDIN_FILENO); (void) close(p[0]); |