diff options
author | Mike Fulbright <msf@redhat.com> | 2000-12-18 16:10:02 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2000-12-18 16:10:02 +0000 |
commit | 3af0be9f8c7cf78b7d49ce5efe5062659fa99918 (patch) | |
tree | c6ceae46e3d4821fc942fb1d20c98695780b50ce /isys/cpio.c | |
parent | aaeeebe3e0bf27487bac055239bb96701ec5f50f (diff) | |
download | anaconda-3af0be9f8c7cf78b7d49ce5efe5062659fa99918.tar.gz anaconda-3af0be9f8c7cf78b7d49ce5efe5062659fa99918.tar.xz anaconda-3af0be9f8c7cf78b7d49ce5efe5062659fa99918.zip |
HJ patch.63 - add tag to upgrade complete screen
Diffstat (limited to 'isys/cpio.c')
-rw-r--r-- | isys/cpio.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/isys/cpio.c b/isys/cpio.c index 97d411764..6c9985a07 100644 --- a/isys/cpio.c +++ b/isys/cpio.c @@ -12,6 +12,10 @@ int installCpioFile(gzFile fd, char * cpioName, char * outName, int inWin) { int rc; const char * failedFile; + FILE *myfile; + + myfile = fopen("/dev/tty3", "rw"); + if (outName) { map.archivePath = cpioName; map.fsPath = outName; @@ -21,6 +25,8 @@ int installCpioFile(gzFile fd, char * cpioName, char * outName, int inWin) { rc = myCpioInstallArchive(fd, outName ? &map : NULL, 1, NULL, NULL, &failedFile); + fprintf(myfile, "Failed file = %s\n", failedFile); + if (rc || access(outName, R_OK)) { return -1; } |