From ccfb917a4fe60d11eacda3c40fcd3e48d20e102b Mon Sep 17 00:00:00 2001 From: Michal Vasko Date: Fri, 12 May 2023 08:23:57 +0200 Subject: [PATCH] ncc REFACTOR formatting --- src/netconf_confirmed_commit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/netconf_confirmed_commit.c b/src/netconf_confirmed_commit.c index f8e3585b..641d50d5 100644 --- a/src/netconf_confirmed_commit.c +++ b/src/netconf_confirmed_commit.c @@ -348,7 +348,7 @@ ncc_clean_backup_directory(void) if (!strcmp(dirent->d_name, ".") || !strcmp(dirent->d_name, "..")) { continue; } - + if (!strstr(dirent->d_name, ".json") && strcmp(META_FILE, dirent->d_name)) { /* If some unexpected file, just skip */ continue;