aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 636e126..8c3fe81 100644
--- a/Makefile
+++ b/Makefile
@@ -415,7 +415,7 @@ validate-config:
else \
echo "✗ Rclone connection failed"; \
fi; \
- elif [ -f /root/.restic_env ]; then \
+ elif sudo [ -f /root/.restic_env ]; then \
echo "✓ System scope configuration found"; \
echo "Checking system configuration..."; \
if sudo [ -f /root/.restic_password ] && sudo [ -s /root/.restic_password ]; then \