diff options
author | John Crispin <john@openwrt.org> | 2013-03-13 18:11:19 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2013-03-13 18:11:19 +0000 |
commit | f43b7934d2850c2f545736253a0f8cbe4915fdff (patch) | |
tree | 3718ca82dd27e3917a51439823bfb20a067af784 /package/base-files/files/lib/upgrade | |
parent | 1360067c4a75cd1804710e6f25871f695d3271b2 (diff) | |
download | upstream-f43b7934d2850c2f545736253a0f8cbe4915fdff.tar.gz upstream-f43b7934d2850c2f545736253a0f8cbe4915fdff.tar.bz2 upstream-f43b7934d2850c2f545736253a0f8cbe4915fdff.zip |
make basefiles aware of procd
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36003
Diffstat (limited to 'package/base-files/files/lib/upgrade')
-rw-r--r-- | package/base-files/files/lib/upgrade/common.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh index 2e123ab3cf..969aecb7ff 100644 --- a/package/base-files/files/lib/upgrade/common.sh +++ b/package/base-files/files/lib/upgrade/common.sh @@ -38,7 +38,7 @@ supivot() { # <new_root> <old_root> mkdir -p $1$2 $1/proc $1/sys $1/dev $1/tmp $1/overlay && \ mount -o noatime,move /proc $1/proc && \ pivot_root $1 $1$2 || { - umount $1 $1 + umount -l $1 $1 return 1 } |