utils/pdfseparate.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
New commits: commit f5311da76ec7cd7c1e6cdfc4e18df6dd56e8398b Author: Albert Astals Cid <[email protected]> Date: Thu Jul 19 00:01:49 2012 +0200 pdfseparate: Return 0 on success diff --git a/utils/pdfseparate.cc b/utils/pdfseparate.cc index 9fbbc3a..25fac5a 100644 --- a/utils/pdfseparate.cc +++ b/utils/pdfseparate.cc @@ -5,6 +5,7 @@ // This file is licensed under the GPLv2 or later // // Copyright (C) 2011, 2012 Thomas Freitag <[email protected]> +// Copyright (C) 2012 Albert Astals Cid <[email protected]> // //======================================================================== #include "config.h" @@ -109,7 +110,10 @@ main (int argc, char *argv[]) goto err0; } globalParams = new GlobalParams(); - extractPages (argv[1], argv[2]); + ok = extractPages (argv[1], argv[2]); + if (ok) { + exitCode = 0; + } delete globalParams; err0: _______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
