Skip to content

Commit

Permalink
Fix shell method on backend (close itamae-kitchen#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
hico-horiuchi committed Jan 18, 2016
1 parent c4ec051 commit 6e1b8ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/itamae/backend.rb
Expand Up @@ -36,7 +36,7 @@ def create(type, opts = {})

class Base
attr_reader :executed_commands

def initialize(options)
@options = options
@backend = create_specinfra_backend
Expand Down Expand Up @@ -189,7 +189,7 @@ def build_command(commands, options)
end

def shell
@options[:shell]
@options[:shell] || '/bin/sh'
end

def run_command_with_profiling(command)
Expand Down

0 comments on commit 6e1b8ad

Please sign in to comment.