From 51e1424225df2a33705bc60d306f9ab53f2b3d09 Mon Sep 17 00:00:00 2001 From: Francesco Cosoleto Date: Sun, 27 Jun 2010 14:24:34 +0200 Subject: ipcrm: remove redundant message in case of invalid option This leaves getopt() only to print a similar error message on invalid options. Signed-off-by: Francesco Cosoleto --- sys-utils/ipcrm.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys-utils/ipcrm.c') diff --git a/sys-utils/ipcrm.c b/sys-utils/ipcrm.c index f07eac826..e8d6ba61f 100644 --- a/sys-utils/ipcrm.c +++ b/sys-utils/ipcrm.c @@ -176,8 +176,6 @@ int main(int argc, char **argv) /* make sure the option is in range */ if (c != 'q' && c != 'm' && c != 's') { - fprintf(stderr, _("%s: illegal option -- %c\n"), - prog, c); usage(prog); error++; return error; -- cgit v1.2.3-55-g7522