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

Bash code works on shell but not on Xbar. #907

Open
Mikii67 opened this issue Nov 22, 2023 · 1 comment
Open

Bash code works on shell but not on Xbar. #907

Mikii67 opened this issue Nov 22, 2023 · 1 comment

Comments

@Mikii67
Copy link

Mikii67 commented Nov 22, 2023

Hello.
The following code (and other similar ones) works fine on a Mac osx Shell, but returns a
"parse stdout:malformed parameters:missing equals" when run from xbar (192.168.1.100 is a Synolgy NAS):

`#!/bin/sh
echo "test"
pluto=$(/usr/bin/ssh Michele@192.168.1.100 "/bin/cat /volume2/scripts/updatejackett.log")

echo "$pluto"`

@Mikii67
Copy link
Author

Mikii67 commented Nov 22, 2023

update: the file "updatejackett.log" contained some pipe characters, and that seemed to break xbar. Replacing the pipe with a "-" in the logfile fixed the problem for me.

Sun Nov 19 16:39:39 CET 2023 | Jackett already to v0.21.1234. Exiting.
Mon Nov 20 07:16:25 CET 2023 | Jackett updated to v0.21.1236

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant