diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2013-07-27 08:58:37 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2013-07-27 08:58:37 +0400 |
commit | ea839a52aebd6a29a8dde70412b0e7b8d68568b4 (patch) | |
tree | 10026e84c8b73d4e5ad6704ab1cb78ea7c63c305 /src/grpunconv.c | |
parent | 6c1662a897fd34b5b0b0174ab83552b016d05e8d (diff) | |
download | shadow-ea839a52aebd6a29a8dde70412b0e7b8d68568b4.tar.gz |
Imported Upstream version 4.1.5.1upstream/4.1.5.1upstream
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, |