maint: zforce and zmore exit status cleanup
[debian/gzip] / zcat.in
diff --git a/zcat.in b/zcat.in
index a93f6a8f6e214e6774fdc2137c42f79533b59457..9cf4c2d7c7e7d09c19b0b225f6f16f3beb136ebc 100644 (file)
--- a/zcat.in
+++ b/zcat.in
@@ -18,7 +18,7 @@
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 version="zcat (gzip) @VERSION@
-Copyright (C) 2007, 2011-2016 Free Software Foundation, Inc.
+Copyright (C) 2007, 2011-2017 Free Software Foundation, Inc.
 This is free software.  You may redistribute copies of it under the terms of
 the GNU General Public License <https://www.gnu.org/licenses/gpl.html>.
 There is NO WARRANTY, to the extent permitted by law.
@@ -44,8 +44,8 @@ With no FILE, or when FILE is -, read standard input.
 Report bugs to <bug-gzip@gnu.org>."
 
 case $1 in
---help)    exec echo "$usage";;
---version) exec echo "$version";;
+--help)    printf '%s\n' "$usage"   || exit 1; exit;;
+--version) printf '%s\n' "$version" || exit 1; exit;;
 esac
 
 exec gzip -cd "$@"