summaryrefslogtreecommitdiff
path: root/scripts/install/install-get-partition
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/install/install-get-partition')
-rwxr-xr-xscripts/install/install-get-partition2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install/install-get-partition b/scripts/install/install-get-partition
index a71704af..9ca5d9c3 100755
--- a/scripts/install/install-get-partition
+++ b/scripts/install/install-get-partition
@@ -466,7 +466,7 @@ save_image_config() {
rm -fr /mnt/config
mkdir /mnt/config
- output=$(cp -pR /mnt/tmp/boot/$image_name/live-rw/opt/vyatta/etc/config/* /mnt/config)
+ output=$(cp -pR /mnt/tmp/boot/$image_name/live-rw/config/* /mnt/config)
if [ -n "$output" ]; then
echo -e "Warning: error in copying the old config partition.\nSee $INSTALL_LOG for more details."