From 0d15215d86737a93a7ee284bc8f25b19ecabbe7f Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Thu, 19 Jan 2012 16:57:40 +0000 Subject: 30114: VCS_INFO_check_com: Remove a superfluous stat() --- Functions/VCS_Info/VCS_INFO_check_com | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Functions') diff --git a/Functions/VCS_Info/VCS_INFO_check_com b/Functions/VCS_Info/VCS_INFO_check_com index d9f7a1330..1b86593a1 100644 --- a/Functions/VCS_Info/VCS_INFO_check_com +++ b/Functions/VCS_Info/VCS_INFO_check_com @@ -9,7 +9,7 @@ case $1 in [[ -x $1 ]] && return 0 ;; (*) - (( ${+commands[$1]} )) && [[ -x ${commands[$1]} ]] && return 0 + (( ${+commands[$1]} )) && return 0 esac return 1 -- cgit 1.4.1