summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_sysfs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/chroot_sysfs')
-rwxr-xr-xscripts/build/chroot_sysfs3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/build/chroot_sysfs b/scripts/build/chroot_sysfs
index 070dd6eda..e6e26a35e 100755
--- a/scripts/build/chroot_sysfs
+++ b/scripts/build/chroot_sysfs
@@ -47,6 +47,9 @@ case "${1}" in
remove)
Echo_message "Begin unmounting /sys..."
+ # Checking stage file
+ Ensure_stagefile_exists
+
# Acquire lock file
Acquire_lockfile