electronicarts/awsudo

aws-agent doesn't work when ENV['SHELL'] returns nil

Closed this issue · 1 comments

Running aws-agent in Docker, ENV['SHELL''] returns nil which causes the split('/') method on line 40 of https://github.com/electronicarts/awsudo/blob/master/bin/aws-agent to fail. Refactoring this into a being/rescue or setting a default value for ENV['SHELL'] when it's nil will solve this edge case.
image

See PR #11.