Better behavior of update_r with no image present

This commit is contained in:
2008-05-10 19:43:16 +00:00
parent 0b3a47c82f
commit 99a408ac42
4 changed files with 16 additions and 9 deletions

View File

@ -3462,6 +3462,8 @@ int Xorriso_iso_lstat(struct XorrisO *xorriso, char *path, struct stat *stbuf,
ret= Xorriso_fake_stbuf(xorriso, path, stbuf, &node, 0);
if(ret>0)
return(0);
if(ret<0)
return(-2);
return(-1);
}