From 3621a587a32589e8404ed1f2356fcbfebc128efc Mon Sep 17 00:00:00 2001
From: Alexey Tikhonov <atikhono@redhat.com>
Date: Mon, 2 Sep 2024 21:04:34 +0200
Subject: [PATCH] TOOLS: mistype fix
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Reviewed-by: Iker Pedrosa <ipedrosa@redhat.com>
Reviewed-by: Tomáš Halman <thalman@redhat.com>
---
 src/tools/sssctl/sssctl_data.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tools/sssctl/sssctl_data.c b/src/tools/sssctl/sssctl_data.c
index 79e12078e..43b9814ea 100644
--- a/src/tools/sssctl/sssctl_data.c
+++ b/src/tools/sssctl/sssctl_data.c
@@ -168,7 +168,7 @@ static errno_t sssctl_restore(bool force_start, bool force_restart)
         }
     }
 
-    if (sssctl_backup_file_exists(SSS_BACKUP_USER_OVERRIDES)) {
+    if (sssctl_backup_file_exists(SSS_BACKUP_GROUP_OVERRIDES)) {
         ret = sssctl_run_command((const char *[]){"sss_override", "group-import",
                                                   SSS_BACKUP_GROUP_OVERRIDES, NULL});
         if (ret != EOK) {
-- 
2.33.0

