Barney-15E wrote:
MrHoffman wrote:
If some Sonos app is causing this message to be displayed, I’d not want to change the shell without checking first with Sonos support, as it’s possible that Sonos is actually dependent on bash.
That's not what the "default shell" means.
Shell scripts direct which shell to use at the top of the script. It doesn't matter what the user's default shell happens to be.
You’re assuming the shebang is present. I’m not. It’s not mandatory.
If the app is showing the default shell prompt now, either there’s an update available for install, or the developer… could have handled this situation better.
The script is probably fine too, probably with the appropriate shebang, but it really shouldn’t even be displaying this shell output chatter. Hence checking with Sonos.
Unrelated to this bash to zsh migration, there’s another shebang-related wrinkle seemingly pending here too in some upcoming version, with /bin/sh switching from bash running as sh to the Catalina-included dash shell, though AFAIK that switch-over hasn’t happened yet.
(Full disclosure: their “recycle mode” scheme soured me on Sonos.)