OSC / ood_core

Open OnDemand core library
https://osc.github.io/ood_core/
MIT License
9 stars 25 forks source link

systemd adapter fails with zsh as user shell #834

Open m0zes opened 3 months ago

m0zes commented 3 months ago

zsh interprets the in ondemand- as a file path and returns an error if nothing is matched (unless the user has set 'setopt no_nomatch' in their .zshrc. Escape it to pass the asterisk on to systemctl (so it can be parsed internally).

johrstrom commented 3 months ago

Thanks for the fix! I'll have to test this out a bit.

johrstrom commented 2 months ago

Sorry for the delay - honestly i just plain forgot this was out there. I'll be sure to look at it next week.