mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-23 09:22:59 +02:00
fix strcmp in unattended install
This commit is contained in:
@@ -147,7 +147,7 @@ int unattended_setup(struct keyvalue *unattendedkv) {
|
||||
}
|
||||
|
||||
/* restore backup */
|
||||
if (restore_file != "") {
|
||||
if (!strcmp(restore_file, "")) {
|
||||
fprintf(flog, "unattended: Restoring Backup\n");
|
||||
snprintf(commandstring, STRING_SIZE,
|
||||
"cd /harddisk && /bin/tar -xvz --preserve -f /cdrom/%s", restore_file);
|
||||
|
||||
Reference in New Issue
Block a user