isValidShell
This commit is contained in:
parent
8c114ea318
commit
e33076ccc9
@ -47,7 +47,7 @@ def isValidShell(shell = ''):
|
||||
try:
|
||||
if not os.path.isfile(shell):
|
||||
return False
|
||||
if not os.access(shell,os.X_OK)
|
||||
if not os.access(shell,os.X_OK):
|
||||
return False
|
||||
except:
|
||||
return False
|
||||
|
Loading…
Reference in New Issue
Block a user