fix deprecated config validation
This commit is contained in:
@@ -52,11 +52,10 @@ echo -e "${YELLOW}🔍 Vérification de la configuration...${NC}"
|
||||
if [ -f /etc/borgmatic/config.yaml ]; then
|
||||
echo -e "${GREEN}✅ Fichier de configuration trouvé${NC}"
|
||||
|
||||
if borgmatic config validate > /dev/null 2>&1; then
|
||||
if validate-borgmatic-config > /dev/null 2>&1; then
|
||||
echo -e "${GREEN}✅ Configuration valide${NC}"
|
||||
else
|
||||
echo -e "${RED}❌ Configuration invalide${NC}"
|
||||
((ERRORS++))
|
||||
echo -e "${YELLOW}⚠️ Utilisez 'borgmatic --dry-run' pour tester${NC}"
|
||||
fi
|
||||
else
|
||||
echo -e "${RED}❌ Fichier de configuration non trouvé${NC}"
|
||||
|
||||
Reference in New Issue
Block a user