Signed-off-by: Francesco Cosoleto <cosoleto@xxxxxxxxx> --- sys-utils/ipcrm.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/sys-utils/ipcrm.c b/sys-utils/ipcrm.c index dc47f90..f6482ab 100644 --- a/sys-utils/ipcrm.c +++ b/sys-utils/ipcrm.c @@ -107,9 +107,7 @@ static int remove_id(int type, int iskey, int id) errmsg = iskey ? _("already removed key") : _("already removed id"); break; default: - if (iskey) - err(EXIT_FAILURE, _("key failed")); - err(EXIT_FAILURE, _("id failed")); + err(EXIT_FAILURE, iskey ? _("key failed") : _("id failed")); } warnx("%s (%d)", errmsg, id); return 1; -- 1.7.3.4 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html