X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=znew.in;fp=znew.in;h=dd1c94ae3d2cc4c95cdba25786dba67fc4abd2ae;hb=8f94ab178da95f87bd131b8faaec313a5d9d672f;hp=ebf87abc2bdef2f3409b76a4e48c79dd00e15f14;hpb=302189d124ed5849c2589ea92e912eb24fdc4ab3;p=gzip diff --git a/znew.in b/znew.in index ebf87ab..dd1c94a 100755 --- a/znew.in +++ b/znew.in @@ -16,8 +16,8 @@ block=1024 warn="(does not preserve modes and timestamp)" tmp=/tmp/zfoo.$$ set -C -echo hi > $tmp.1 -echo hi > $tmp.2 +echo hi > $tmp.1 || exit 1 +echo hi > $tmp.2 || exit 1 if test -z "`(${CPMOD-cpmod} $tmp.1 $tmp.2) 2>&1`"; then cpmod=${CPMOD-cpmod} warn=""