Changeset 689 in MondoRescue for trunk/mondo/mondo/mondorestore/mondo-restore.c
- Timestamp:
- Jul 17, 2006, 7:43:58 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/mondo/mondorestore/mondo-restore.c
r688 r689 2049 2049 asprintf(&acl_fname, ACL_BIGGLST_FNAME_RAW_SZ, ARCHIVES_PATH); 2050 2050 asprintf(&xattr_fname, XATTR_BIGGLST_FNAME_RAW_SZ, ARCHIVES_PATH); 2051 if (length_of_file(acl_fname) > 0 && find_home_of_exe("setfacl")) { 2051 tmp = find_home_of_exe("setfacl"); 2052 if (length_of_file(acl_fname) > 0 && tmp) { 2052 2053 set_acl_list(biggies_whose_EXATs_we_should_set, acl_fname); 2053 2054 } 2054 if (length_of_file(xattr_fname) > 0 2055 && find_home_of_exe("setfattr")) { 2055 paranoid_free(tmp); 2056 2057 tmp = find_home_of_exe("setfattr"); 2058 if (length_of_file(xattr_fname) > 0 && tmp) { 2056 2059 set_fattr_list(biggies_whose_EXATs_we_should_set, xattr_fname); 2057 2060 } 2061 paranoid_free(tmp); 2058 2062 paranoid_free(acl_fname); 2059 2063 paranoid_free(xattr_fname); … … 2566 2570 log_msg(1, "path is now %s", newpath); 2567 2571 log_msg(1, "restoring everything"); 2568 if (!find_home_of_exe("petris") && !g_text_mode) { 2572 tmp = find_home_of_exe("petris"); 2573 if (!tmp && !g_text_mode) { 2569 2574 newtDrawRootText(0, g_noof_rows - 2, 2570 2575 _ … … 2572 2577 newtRefresh(); 2573 2578 } 2579 paranoid_free(tmp); 2580 2574 2581 mvaddstr_and_log_it(g_currentY, 0, 2575 2582 _("Preparing to read your archives"));
Note:
See TracChangeset
for help on using the changeset viewer.