shell: fix compilation warning