From ac98b75253b1c0301f8ce37f622ecb28121ae87d Mon Sep 17 00:00:00 2001 From: zimoch Date: Wed, 3 Jul 2013 08:48:35 +0000 Subject: [PATCH] remove duplicate output --- exec.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/exec.c b/exec.c index 5356b57..2e1f087 100644 --- a/exec.c +++ b/exec.c @@ -3,7 +3,7 @@ * * $Author: zimoch $ * $ID$ -* $Date: 2011/11/28 14:18:37 $ +* $Date: 2013/07/03 08:48:35 $ * * DISCLAIMER: Use at your own risc and so on. No warranty, no refund. */ @@ -55,9 +55,8 @@ static void execFunc (const iocshArgBuf *args) fprintf (stderr, "%s killed by signal %d: %s\n", args[0].sval, WTERMSIG(status), strsignal(WTERMSIG(status))); #else - fprintf (stderr, "%s killed by signal %d: statuscode %d\n", - args[0].sval, WTERMSIG(status), WTERMSIG(status)); - + fprintf (stderr, "%s killed by signal %d\n", + args[0].sval, WTERMSIG(status)); #endif } if (WEXITSTATUS(status))