summaryrefslogtreecommitdiffstats
path: root/pgpewrap
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-10-04 09:56:09 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-10-04 09:56:09 +0000
commit90a652416776caecc002132930c113b667cf2315 (patch)
tree421a2b5d40a229b65cf021965c3315fea57ba333 /pgpewrap
parent9d3483e6f58ad8ec1fd612b5857aecbc588a4d25 (diff)
pgpewrap spits out ugly error messages when used with ash.
Diffstat (limited to 'pgpewrap')
-rwxr-xr-xpgpewrap2
1 files changed, 1 insertions, 1 deletions
diff --git a/pgpewrap b/pgpewrap
index 2f3a21c2..bc1a8e0e 100755
--- a/pgpewrap
+++ b/pgpewrap
@@ -8,7 +8,7 @@ die() {
exit 1
}
-while shift && test -n "$1" ; do
+while shift 2> /dev/null && test -n "$1" ; do
if test "$1" = "--" ; then
shift || die
pfx="$1"