SSH command failing

Folks,

I often SSH into Kodi (using default username and password – only local access) to check settings or do a reboot etc, sudo shutdown -r now gets the expected result.

Installed an SSH utility on my phone called SSH button. Sends a one off command to device, useful for shutdown or reboot.

Now, weirdly, this works fine on my Raspian R-Pi devices but has no effect on the OSMC devices, just get message Return code was 1

Normally I’d just think App not working but it does work with Raspian.

Am I missing something obvious?

Geffers