aboutsummaryrefslogtreecommitdiff
path: root/src/msg.c
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2025-07-30 17:18:58 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2025-07-30 17:18:58 +0530
commit7cc0394cd4ccdbab3ff6fabea0efdd20a3117fc2 (patch)
tree6cc45fe6fca0199e7d97d8907bed601cef1430da /src/msg.c
parentb7ad35df28dfe0a45f0292ed46b658025b61f9e8 (diff)
msg: remove unnecessary logging
Diffstat (limited to 'src/msg.c')
-rw-r--r--src/msg.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/msg.c b/src/msg.c
index 0b34e93..4f69e43 100644
--- a/src/msg.c
+++ b/src/msg.c
@@ -154,10 +154,8 @@ run(void)
if (S_ISREG(path_stat.st_mode))
copy_recursively(path, NULL, FTW_F, NULL);
- else if (S_ISDIR(path_stat.st_mode)) {
- printf("%s\n", path);
+ else if (S_ISDIR(path_stat.st_mode))
nftw(path, copy_recursively, 64, FTW_PHYS | FTW_ACTIONRETVAL);
- }
free(path);
}