mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-15 10:09:59 +00:00
trivial: fu-common: don't mention making directories unless they don't exist
This commit is contained in:
parent
c7cf40ebda
commit
d4155ff673
@ -163,6 +163,7 @@ fu_common_mkdir_parent (const gchar *filename, GError **error)
|
||||
g_autofree gchar *parent = NULL;
|
||||
|
||||
parent = g_path_get_dirname (filename);
|
||||
if (!g_file_test (parent, G_FILE_TEST_IS_DIR))
|
||||
g_debug ("creating path %s", parent);
|
||||
if (g_mkdir_with_parents (parent, 0755) == -1) {
|
||||
g_set_error (error,
|
||||
|
Loading…
Reference in New Issue
Block a user