s3:winbind: Move winbindd_dual_init_connection() function
[samba.git] / script / bisect-test.py
index b87df54ac09fa0e7a7eca34dbae1c5f51daaec46..7c5cd635f58f033c653196e11f6d2e9b3d811e90 100755 (executable)
@@ -48,7 +48,7 @@ def find_git_root():
     '''get to the top of the git repo'''
     p = os.getcwd()
     while p != '/':
-        if os.path.isdir(os.path.join(p, ".git")):
+        if os.path.exists(os.path.join(p, ".git")):
             return p
         p = os.path.abspath(os.path.join(p, '..'))
     return None