Changeset 2878 in MondoRescue for branches/2.2.9/mondo/src/common/newt-specific.c
- Timestamp:
- Oct 5, 2011, 1:20:58 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mondo/src/common/newt-specific.c
r2771 r2878 349 349 chdir("/"); 350 350 if (g_selfmounted_isodir) { 351 sprintf(command, "umount %s", g_selfmounted_isodir);351 sprintf(command, "umount -d %s", g_selfmounted_isodir); 352 352 run_program_and_log_output(command, 5); 353 353 sprintf(command, "rmdir %s", g_selfmounted_isodir); … … 406 406 407 407 chdir("/"); 408 run_program_and_log_output("umount " MNT_CDROM, FALSE);408 run_program_and_log_output("umount -d " MNT_CDROM, FALSE); 409 409 if (g_selfmounted_isodir) { 410 mr_asprintf(&command, "umount %s", g_selfmounted_isodir);410 mr_asprintf(&command, "umount -d %s", g_selfmounted_isodir); 411 411 run_program_and_log_output(command, 1); 412 412 paranoid_free(command);
Note:
See TracChangeset
for help on using the changeset viewer.