### Please check before submitting an issue

* [X] I have searched the issues and haven't found anything relevant.
* [X] I will upload bugreport file in KernelSU Manager - Settings - Report log.
* [X] I know how to reproduce the issue which may not be specific to my device.

### Describe the bug
I wrote a shell script that captures the volume key and performs a series of actions (1-3) based on the value captured. However, when I execute the script on my phone's terminal, it works as expected. But when I place the script in the KernelSU module and rename it to `action.sh`, it fails to display the contents of the loop and gets stuck without any response.

### To Reproduce
```shell
key_click() {
while true; do
sleep 0.5
keyInfo=$(getevent -qlc 1 | grep KEY_VOLUME)
#echo $keyInfo
if [