X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fexits.c;h=cea38d5c9c2134fb930d1fbc83b6cb5fec206dc9;hp=254034f7c50374c13f2d113c3383a853c01ae643;hb=eee1589ef3d198a21635d15c9086df2b99f9013d;hpb=b014f8fae9291e7504c0cca2dd8b9a0035466c03 diff --git a/src/exits.c b/src/exits.c index 254034f7..cea38d5c 100644 --- a/src/exits.c +++ b/src/exits.c @@ -1,6 +1,5 @@ -/* Command line parsing. - Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, - 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. +/* Exit status handling. + Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc. This file is part of GNU Wget. @@ -59,6 +58,7 @@ get_status_for_err (uerr_t err) case RETROK: return WGET_EXIT_SUCCESS; case FOPENERR: case FOPEN_EXCL_ERR: case FWRITEERR: case WRITEFAILED: + case UNLINKERR: case CLOSEFAILED: case FILEBADFILE: return WGET_EXIT_IO_FAIL; case NOCONERROR: case HOSTERR: case CONSOCKERR: case CONERROR: case CONSSLERR: case CONIMPOSSIBLE: case FTPRERR: case FTPINVPASV: