Project

General

Profile

Actions

Bug #19584

closed

Some shells complain about heredoc ended by EOF

Added by Adam Ruzicka over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Smart Proxy - SSH
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

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


Related issues 1 (0 open1 closed)

Related to Foreman Remote Execution - Feature #19401: Allow choice of target shell in Remote ExecutionClosedAdam Ruzicka04/27/2017Actions
Actions

Also available in: Atom PDF