Made -update_r and -compare_r obey disabling of -follow "mount"
This commit is contained in:
@ -3414,6 +3414,7 @@ int Xorriso_ls_filev(struct XorrisO *xorriso, char *wd,
|
||||
@param flag bit0= long format
|
||||
bit1= only check for directory existence
|
||||
bit2= do not apply search pattern but accept any file
|
||||
bit3= just count nodes and return number
|
||||
*/
|
||||
int Xorriso_ls(struct XorrisO *xorriso, int flag)
|
||||
{
|
||||
@ -3468,7 +3469,8 @@ cannot_create_iter:;
|
||||
iso_dir_iter_free(iter);
|
||||
iter= NULL;
|
||||
Xorriso_process_msg_queues(xorriso,0);
|
||||
|
||||
if(flag&8)
|
||||
{ret= filec; goto ex;}
|
||||
sprintf(xorriso->info_text, "Valid ISO nodes found: %d\n", filec);
|
||||
Xorriso_info(xorriso,1);
|
||||
|
||||
@ -3530,7 +3532,7 @@ ex:;
|
||||
Xorriso_process_msg_queues(xorriso,0);
|
||||
if(node_array!=NULL)
|
||||
free((char *) node_array);
|
||||
return(1);
|
||||
return(ret);
|
||||
}
|
||||
|
||||
/* @param boss_iter Opaque handle to be forwarded to actions in ISO image
|
||||
|
Reference in New Issue
Block a user