summaryrefslogtreecommitdiff
path: root/trashsys.c
diff options
context:
space:
mode:
authorOskar <[email protected]>2024-07-01 09:35:25 +0200
committerOskar <[email protected]>2024-07-01 09:35:25 +0200
commit5beaa2672441325409348a4e52344cfd24dd1ed0 (patch)
treee5bd33166c3515b1df5e7a77895c7ca86a0758c6 /trashsys.c
parent5de4cbd8fcf215b50e3117c4d403313effa23904 (diff)
tmp case
Diffstat (limited to 'trashsys.c')
-rw-r--r--trashsys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trashsys.c b/trashsys.c
index f5b6287..343351a 100644
--- a/trashsys.c
+++ b/trashsys.c
@@ -223,7 +223,7 @@ struct initial_path_info *fill_ipi(bool t_used) { // Function for filling out in
exit(EXIT_FAILURE);
}
- } else if (t_used == true) {
+ } else if (t_used == true) { // If -t flag is specified we fill ipi with /tmp paths instead
if(concat_str(ipi->ts_path_user_home, PATH_MAX, ts_tmp) == NULL ||
concat_str(ipi->ts_path_trashsys, PATH_MAX, ts_tmp_toplevel) == NULL ||
concat_str(ipi->ts_path_log, PATH_MAX, ts_tmp_log) == NULL ||