diff --git a/bootstrap/coriolisEnv.py b/bootstrap/coriolisEnv.py index 6cc26bd7..926c1349 100755 --- a/bootstrap/coriolisEnv.py +++ b/bootstrap/coriolisEnv.py @@ -170,7 +170,8 @@ def guessShell ( defaultShell, osType ): shellPath = whichCommand.stdout.splitlines()[0].decode('utf8') else: shellPath = shell - print( 'echo "[GUESSED] shellPath={}";'.format(shellPath) ) + if not options.queryISysRoot and not options.queryInstRoot: + print( 'echo "[GUESSED] shellPath={}";'.format(shellPath) ) except Exception: shellPath = u'/bin/bash' print( 'echo "[ERROR] \\"ps\\" command failure, using {}";'.format(shellPath) )