From ce9775e450e41b5c33c33bbac96b2bd58d45a9a4 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Thu, 3 Nov 2022 15:40:51 +0000 Subject: [PATCH] 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 (cherry picked from commit 6c7eb34dd641f1bca29d1e44ac3954898f2ee57c) --- common/flatpak-dir.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/flatpak-dir.c b/common/flatpak-dir.c index 6b499f19..e87a8676 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); } }