From cc2c21174d29f07f96f44bb3a858f5eec3cb168f Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 11 Feb 2009 15:28:38 +0000 Subject: fix quoting --- rescue/restore-image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rescue/restore-image.sh') 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 " -- cgit v1.2.1