Ignore:
Timestamp:
Sep 23, 2006, 9:19:17 AM (14 years ago)
Author:
Bruno Cornec
Message:

Fix a bug whete /tmp was hardcoded for ntfsclone usage, creating a problem for an attempt to use mondo with a live CD. (reported by Dale Tronrud <det102_at_uoxray.uoregon.edu>)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/mondo/mondorestore/mondo-restore.c

    r804 r812  
    17741774                "Calling ntfsclone in background because %s is a /dev entry",
    17751775                outfile_fname);
    1776         sprintf(sz_devfile, "/tmp/%d.%d.000", (int) (random() % 32768),
     1776        sprintf(sz_devfile, "%s/%d.%d.000",
     1777                bkpinfo->tmpdir,
     1778                (int) (random() % 32768),
    17771779                (int) (random() % 32768));
    17781780        mkfifo(sz_devfile, 0x770);
Note: See TracChangeset for help on using the changeset viewer.