summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/ptxdist2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ptxdist b/bin/ptxdist
index 734087d71..de70aa32d 100755
--- a/bin/ptxdist
+++ b/bin/ptxdist
@@ -2039,7 +2039,7 @@ EOF
exit 1
fi
while [ ${#} -gt 0 ]; do
- if [[ ! ( "${1}" =~ "/" ) ]] && [ -n "${!1}" ]; then
+ if [[ ! ( "${1}" =~ "/" ) ]] && ([ -n "${!1}" ]) 2>/dev/null; then
if [ "${PTXDIST_VERBOSE}" = "1" ]; then
echo -n "${1}="
fi