Actions
Bug #19584
closedSome shells complain about heredoc ended by EOF
Status:
Closed
Priority:
Normal
Assignee:
Category:
Smart Proxy - SSH
Target version:
Difficulty:
trivial
Triaged:
Description
It works because the last command before the end of the heredoc is an exit command. We need to strip the leading whitespace from the control script
After running ls:
1: bash: line 3: warning: here-document at line 0 delimited by end-of-file (wanted `WRAPPER')
2: borg
3: foreman-ssh-cmd-c9c6a6cd-7ca4-470a-85fb-4f8fa8b4eba5
4: Exit status: 0
Updated by Adam Ruzicka over 7 years ago
This happens when sh is symlink to bash on the target machine
Updated by The Foreman Bot over 7 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman_remote_execution/pull/248 added
Updated by Ivan Necas over 7 years ago
- Related to Feature #19401: Allow choice of target shell in Remote Execution added
Updated by Adam Ruzicka over 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_plugin|eb9542437288d228ef5a78f7af54c64bccff771d.
Updated by Ivan Necas over 7 years ago
- Translation missing: en.field_release set to 263
Actions