summaryrefslogtreecommitdiffstats
path: root/src/cmd/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/build.sh')
-rw-r--r--src/cmd/build.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cmd/build.sh b/src/cmd/build.sh
index 6b85fad..dbfd910 100644
--- a/src/cmd/build.sh
+++ b/src/cmd/build.sh
@@ -93,9 +93,7 @@ cmd_build_main()
session_end
- if [ "x${dev}" != 'x' ]; then
- block_umount "${root}"
- fi
+ [ "x${dev}" != 'x' ] && block_umount "${root}"
}
cmd_build_make_deps_pkg()