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

Commands exit with 1 when seemingly no error occurred #254

Closed
net opened this issue Sep 30, 2022 · 3 comments
Closed

Commands exit with 1 when seemingly no error occurred #254

net opened this issue Sep 30, 2022 · 3 comments
Labels
available on master bug Something isn't working

Comments

@net
Copy link

net commented Sep 30, 2022

After a recent update a lot of my sketchybar commands are exiting with 1 even though they still perform their action and don't output anything to stdout or stderr.

Example of commands that perform their action but exit with 1 for me:

sketchybar -m \
    --set 3 associated_space=1 \
           associated_display=1 \
           icon="􀃋" \
           label="1" \
           click_script="yabai -m space --focus 1
sketchybar -m --move 5 after 3

I'm on commit 44fd3a1.

@FelixKratz
Copy link
Owner

FelixKratz commented Sep 30, 2022

I think this commit fixed the problem: bf3d88d it is a change in the client program, thus the fix will only be available when the new binary is installed to PATH. It will be contained in v2.9.1, which will be released very soon.

There is no actual error, I have just messed up the exit codes.

@FelixKratz FelixKratz added bug Something isn't working available on master labels Sep 30, 2022
@FelixKratz
Copy link
Owner

New release is out, should be fixed now.

@net
Copy link
Author

net commented Oct 3, 2022

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
available on master bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants