shell: Fix issue with bash 3