summaryrefslogtreecommitdiffstats
path: root/bin/doman
diff options
context:
space:
mode:
Diffstat (limited to 'bin/doman')
-rwxr-xr-xbin/doman2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/doman b/bin/doman
index 9bb789091..658e34772 100755
--- a/bin/doman
+++ b/bin/doman
@@ -39,7 +39,7 @@ for x in "$@" ; do
install -m0644 "${x}" "${D}/usr/share/man/${mandir}"
((ret+=$?))
- else
+ elif [[ ! -e ${x} ]] ; then
echo "doman: ${x} does not exist" 1>&2
((++ret))
fi