Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[+] trim possible leading or trailing white space from the command #424

Merged
merged 1 commit into from
Apr 22, 2022
Merged

Conversation

paulovieira
Copy link
Contributor

Having white space in the command is a silly mistake, but happens to all of us (particularly when doing some copy-paste).

And when looking at the error in the console, it's easy to miss that the problem is the whitespace:

2022-04-22 16:59:37.969 [ERROR] [chain:21] [task:20] [error:fork/exec ./my_script.sh : no such file or directory] Task execution failed

(note the white space between "./my_script.sh" and ":"

Having white space in the command is a silly mistake, but happens to all of us (particularly when doing some copy-paste).

And when looking at the error in the console, it's easy to miss that the problem is the whitespace:

```bash
2022-04-22 16:59:37.969 [ERROR] [chain:21] [task:20] [error:fork/exec ./my_script.sh : no such file or directory] Task execution failed
```
(note the white space between "./my_script.sh" and ":"
@pashagolub pashagolub self-assigned this Apr 22, 2022
@pashagolub pashagolub added the 🚀 enhancement New feature or request label Apr 22, 2022
@pashagolub pashagolub changed the title trim possible leading or trailing white space from the command [+] trim possible leading or trailing white space from the command Apr 22, 2022
@pashagolub
Copy link
Collaborator

Thanks

@pashagolub pashagolub merged commit a12d502 into cybertec-postgresql:master Apr 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants