isValidShell
This commit is contained in:
1 parent
8c114ea318
commit
e33076ccc9
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user