diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-02-11 15:28:38 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-02-11 15:28:38 +0000 |
commit | cc2c21174d29f07f96f44bb3a858f5eec3cb168f (patch) | |
tree | 100f1bacf04376ecb0c58e98e9fc7c4ff2d803d0 /rescue/restore-image.sh | |
parent | ae6ade1585efc14129d8df865745ab92269d018d (diff) | |
download | drakx-cc2c21174d29f07f96f44bb3a858f5eec3cb168f.tar drakx-cc2c21174d29f07f96f44bb3a858f5eec3cb168f.tar.gz drakx-cc2c21174d29f07f96f44bb3a858f5eec3cb168f.tar.bz2 drakx-cc2c21174d29f07f96f44bb3a858f5eec3cb168f.tar.xz drakx-cc2c21174d29f07f96f44bb3a858f5eec3cb168f.zip |
fix quoting
Diffstat (limited to 'rescue/restore-image.sh')
-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 e76ed7e64..6301eb5ed 100755 --- a/rescue/restore-image.sh +++ b/rescue/restore-image.sh @@ -102,7 +102,7 @@ function detect_root() if [ -z "${root}" ]; then if [ "$devs_found" -gt "1" ]; then - if [ ! -z ${inst_source_dev} ]; then + if [ -n "${inst_source_dev}" ]; then opcao=$(dialog --backtitle "$BACKTITLE" --title "$TITLE" --stdout --menu 'Choose one of the detected devices to restore to (check the blocks size column first):' 8 50 0 $devices ) if [ "$?" != "0" ]; then _yesno "\nInterrupt installation?\n " |