summaryrefslogtreecommitdiff
path: root/functions/man.sh
diff options
context:
space:
mode:
Diffstat (limited to 'functions/man.sh')
-rwxr-xr-xfunctions/man.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/man.sh b/functions/man.sh
index d5cdbb31b..472d20663 100755
--- a/functions/man.sh
+++ b/functions/man.sh
@@ -13,7 +13,7 @@ Man ()
{
local BASENAME
BASENAME=$(basename ${0})
- if [ $(which man) ]
+ if command -v man >/dev/null
then
case $BASENAME in
$PROGRAM)