improve the previous fix for LP #241563
This commit is contained in:
parent
7b6c9f52b8
commit
51e82409a8
|
@ -398,8 +398,12 @@ text/plain
|
|||
shell = os.path.join(p, i)
|
||||
dbg ('spawn_child: Checking if "%s" exists'%shell)
|
||||
if not os.path.exists (shell):
|
||||
dbg ('spawn_child: %s does not exist'%shell)
|
||||
continue
|
||||
else:
|
||||
dbg ('spawn_child: %s does exist'%shell)
|
||||
break
|
||||
if os.path.exists (shell):
|
||||
break
|
||||
|
||||
if not self.command and not os.path.exists (shell):
|
||||
|
|
Loading…
Reference in New Issue