diff options
Diffstat (limited to 'src/cmd/shell.sh')
-rw-r--r-- | src/cmd/shell.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cmd/shell.sh b/src/cmd/shell.sh index f062a0e..e761f55 100644 --- a/src/cmd/shell.sh +++ b/src/cmd/shell.sh @@ -49,9 +49,7 @@ cmd_shell_main() fi session_end - if [ "x${dev}" != 'x' ]; then - block_umount "${root}" - fi + [ "x${dev}" != 'x' ] && block_umount "${root}" } cmd_shell_register() |