diff options
Diffstat (limited to 'src/grpunconv.c')
-rw-r--r-- | src/grpunconv.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/grpunconv.c b/src/grpunconv.c index 829f4c8..416b6a5 100644 --- a/src/grpunconv.c +++ b/src/grpunconv.c @@ -37,7 +37,7 @@ #include <config.h> -#ident "$Id: grpunconv.c 3640 2011-11-19 21:51:52Z nekral-guest $" +#ident "$Id: grpunconv.c 3726 2012-05-18 19:32:32Z nekral-guest $" #include <stdio.h> #include <stdlib.h> @@ -205,13 +205,7 @@ int main (int argc, char **argv) } } - if (sgr_close () == 0) { - fprintf (stderr, - _("%s: failure while writing changes to %s\n"), - Prog, sgr_dbname ()); - SYSLOG ((LOG_ERR, "failure while writing changes to %s", sgr_dbname ())); - fail_exit (3); - } + (void) sgr_close (); /* was only open O_RDONLY */ if (gr_close () == 0) { fprintf (stderr, |