Do not show shell guess ofr directory queries

This commit is contained in:
Gabriel Gouvine 2023-04-04 16:17:13 +02:00
parent e04f6b1cbc
commit 8bd0a3b0c8
1 changed files with 2 additions and 1 deletions

View File

@ -170,6 +170,7 @@ def guessShell ( defaultShell, osType ):
shellPath = whichCommand.stdout.splitlines()[0].decode('utf8')
else:
shellPath = shell
if not options.queryISysRoot and not options.queryInstRoot:
print( 'echo "[GUESSED] shellPath={}";'.format(shellPath) )
except Exception:
shellPath = u'/bin/bash'