Skip to content

Commit

Permalink
fix error on unknown command (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakolehm authored Nov 9, 2017
1 parent 059d82b commit 5f433cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/kontena/plugin/shell/session.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def run_command(buf)

def forkable_command?(command)
return false if !command.is_a?(Kontena::Plugin::Shell::KontenaCommand)
return false if command.subcommand_class.klass.has_subcommands?
return false if command.subcommand_class.has_subcommands?

true
end
Expand Down

0 comments on commit 5f433cb

Please sign in to comment.