diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-02-11 15:25:41 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-02-11 15:25:41 +0000 |
commit | 1b0301c344612da9e005c3eb4a3a70557fb77f53 (patch) | |
tree | cb3deae80578d2737ccac561a849ab773a517bd1 /rescue | |
parent | 4851a9d2f83f428b7f21626bbbd1edee7bbb221c (diff) | |
download | drakx-1b0301c344612da9e005c3eb4a3a70557fb77f53.tar drakx-1b0301c344612da9e005c3eb4a3a70557fb77f53.tar.gz drakx-1b0301c344612da9e005c3eb4a3a70557fb77f53.tar.bz2 drakx-1b0301c344612da9e005c3eb4a3a70557fb77f53.tar.xz drakx-1b0301c344612da9e005c3eb4a3a70557fb77f53.zip |
reuse devs_found
Diffstat (limited to 'rescue')
-rwxr-xr-x | rescue/restore-image.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rescue/restore-image.sh b/rescue/restore-image.sh index a8eb8e2cb..c59113f9c 100755 --- a/rescue/restore-image.sh +++ b/rescue/restore-image.sh @@ -103,7 +103,7 @@ function detect_root() set +f # won't handle complex layouts - if [ ! $(grep "^/dev" /tmp/fdisk.log | wc -l) -gt 1 ]; then + if [ "${devs_found}" = 1 ]; then if [ -n "${first_win32_part_dev}" ]; then root=$(detect_and_resize_win32 $first_win32_part_dev) fi |