summaryrefslogtreecommitdiffstats
path: root/rescue/restore-image.sh
diff options
context:
space:
mode:
Diffstat (limited to 'rescue/restore-image.sh')
-rwxr-xr-xrescue/restore-image.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/rescue/restore-image.sh b/rescue/restore-image.sh
index dfe173fa7..3776f9222 100755
--- a/rescue/restore-image.sh
+++ b/rescue/restore-image.sh
@@ -91,11 +91,10 @@ function detect_root()
echo "$root"
else
- _msgbox "\nError writing image: disk device not detected\n"
+ _msgbox "\nError writing image: disk device not detected.\n"
fi
else
- root=$(echo $devices | cut -d ' ' -f 1)
- echo "$root"
+ _msgbox "\nError writing image: disk device not detected.\n"
fi
}