| Index: mount_gpt_image.sh
|
| diff --git a/mount_gpt_image.sh b/mount_gpt_image.sh
|
| index bb8fd7ec2ca2558263df314841fbcd048c67c1e9..cf623a44aba639ca4c8450d448d4e552bde6e3e7 100755
|
| --- a/mount_gpt_image.sh
|
| +++ b/mount_gpt_image.sh
|
| @@ -47,7 +47,7 @@ function unmount_image() {
|
| # Don't die on error to force cleanup
|
| set +e
|
| # Reset symlinks in /usr/local.
|
| - if mount | grep "${FLAGS_rootfs_mountpt} (rw,bind)"; then
|
| + if mount | egrep ".* ${FLAGS_rootfs_mountpt} .*\(rw,"; then
|
| setup_symlinks_on_root "/usr/local" "/var" \
|
| "${FLAGS_stateful_mountpt}"
|
| fix_broken_symlinks "${FLAGS_rootfs_mountpt}"
|
|
|