]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Merge branch 'work'
authorDaniel Glanzmann <dg@ipfire.org>
Tue, 30 Sep 2008 12:00:32 +0000 (14:00 +0200)
committerDaniel Glanzmann <dg@ipfire.org>
Tue, 30 Sep 2008 12:00:32 +0000 (14:00 +0200)
src/install+setup/install/main.c

index d4f31b38b562e33a83384ca18ffae684be421228..6d6d12cf6ac01b68f91fd1c84276ced73b9b3604 100644 (file)
@@ -553,8 +553,9 @@ int main(int argc, char *argv[])
        /* Copy restore file from cdrom */
        if (unattended && (strlen(restore_file) > 0)) {
                fprintf(flog, "unattended: Copy restore file\n");
-           snprintf(commandstring, STRING_SIZE, 
+               snprintf(commandstring, STRING_SIZE, 
                        "cp /cdrom/%s /harddisk/var/ipfire/backup", restore_file);
+               mysystem(commandstring);
        }
        
        mysystem("umount /cdrom");