Do not show shell guess ofr directory queries
This commit is contained in:
parent
e04f6b1cbc
commit
8bd0a3b0c8
|
@ -170,7 +170,8 @@ def guessShell ( defaultShell, osType ):
|
||||||
shellPath = whichCommand.stdout.splitlines()[0].decode('utf8')
|
shellPath = whichCommand.stdout.splitlines()[0].decode('utf8')
|
||||||
else:
|
else:
|
||||||
shellPath = shell
|
shellPath = shell
|
||||||
print( 'echo "[GUESSED] shellPath={}";'.format(shellPath) )
|
if not options.queryISysRoot and not options.queryInstRoot:
|
||||||
|
print( 'echo "[GUESSED] shellPath={}";'.format(shellPath) )
|
||||||
except Exception:
|
except Exception:
|
||||||
shellPath = u'/bin/bash'
|
shellPath = u'/bin/bash'
|
||||||
print( 'echo "[ERROR] \\"ps\\" command failure, using {}";'.format(shellPath) )
|
print( 'echo "[ERROR] \\"ps\\" command failure, using {}";'.format(shellPath) )
|
||||||
|
|
Loading…
Reference in New Issue