Repaired a bug in -find

This commit is contained in:
Thomas Schmitt 2007-12-31 13:54:37 +00:00
parent 807ea1bee9
commit 4b25b22ded
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
#define Xorriso_timestamP "2007.12.31.135237"
#define Xorriso_timestamP "2007.12.31.135330"

View File

@ -2917,7 +2917,7 @@ int Xorriso_findi(struct XorrisO *xorriso, struct FindjoB *job,
ret= Findjob_test(job, name, NULL, dir_stbuf, depth, 0);
if(ret<0)
goto ex;
if(ret>0 && action==0) {
if(ret>0) {
#ifdef NIX
sprintf(xorriso->result_line, "%s\n", Text_shellsafe(dir_path, sfe, 0));