Bug #6148

"exit code must be integer" when pressing Ctrl+D in shell

Added by Dominic Cleal almost 4 years ago. Updated almost 4 years ago.

Status:Closed
Priority:Normal
Assigned To:Dominic Cleal
Category:Hammer core
Target version:Foreman - Sprint 25
Difficulty: Bugzilla link:
Found in release: Pull request:
Story points-
Velocity based estimate-

Description

Using rubygem-hammer_cli-0.1.1-1.201406060838git35c7928.el6.noarch.

When pressing Ctrl+D in the interactive shell, you get an error about the exit code:

# hammer shell
Welcome to the hammer interactive shell
Type 'help' for usage information
Command completion is disabled on ruby < 1.9 due to compatibility problems.
hammer> Error: exit code must be integer

Associated revisions

Revision e49fc43f
Added by Dominic Cleal almost 4 years ago

fixes #6148 - exit cleanly when EOF/ctrl+d given in shell

Revision 59e4e90a
Added by Tomas Strachota almost 4 years ago

Merge pull request #121 from domcleal/6148-shell-eof-exit

fixes #6148 - exit cleanly when EOF/ctrl+d given in shell

History

#1 Updated by Dominic Cleal almost 4 years ago

  • Status changed from New to Ready For Testing
  • Assigned To set to Dominic Cleal
  • Target version set to Sprint 25

#2 Updated by Dominic Cleal almost 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF