Skip to content

Commit ffdf8b5

Browse files
authored
Merge pull request #2028 from havardAasen/delete-tmp-files
Be able to delete temporary files on a different mount point
2 parents 3b880da + dac818c commit ffdf8b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/oscap_acquire.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ void oscap_acquire_cleanup_dir(char **dir_path)
210210
{
211211
if (*dir_path != NULL)
212212
{
213-
nftw(*dir_path, __unlink_cb, 64, FTW_DEPTH | FTW_PHYS | FTW_MOUNT);
213+
nftw(*dir_path, __unlink_cb, 64, FTW_DEPTH | FTW_PHYS);
214214
free(*dir_path);
215215
*dir_path = NULL;
216216
}

0 commit comments

Comments
 (0)