summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorPhilip Withnall <pwithnall@endlessos.org>2022-11-03 15:40:51 +0000
committerSimon McVittie <smcv@debian.org>2022-11-16 18:46:01 +0000
commit6c7eb34dd641f1bca29d1e44ac3954898f2ee57c (patch)
tree7f36e663bae4f925b331a2e9936ef90965cbf58b /common
parentd28495d54f2a42b64291c02c5f6acdc95638acca (diff)
downloadflatpak-6c7eb34dd641f1bca29d1e44ac3954898f2ee57c.tar.gz
flatpak-dir: Add a debug message to remove_old_appstream_tmpdirs()
This should make it a bit clearer when `rm -rf` is being used in the debug logs. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
Diffstat (limited to 'common')
-rw-r--r--common/flatpak-dir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/flatpak-dir.c b/common/flatpak-dir.c
index 0cacff05..1508ebf2 100644
--- a/common/flatpak-dir.c
+++ b/common/flatpak-dir.c
@@ -4554,6 +4554,7 @@ remove_old_appstream_tmpdirs (GFile *dir)
tmp = g_file_get_child (dir, dent->d_name);
/* We ignore errors here, no need to worry anyone */
+ g_debug ("Deleting stale appstream deploy tmpdir %s", flatpak_file_get_path_cached (tmp));
(void)flatpak_rm_rf (tmp, NULL, NULL);
}
}