aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8c3fe81..a03ee1c 100644
--- a/Makefile
+++ b/Makefile
@@ -463,7 +463,7 @@ config:
echo " Paths file: ~/.config/restic/paths"; \
echo " Excludes file: ~/.config/restic/excludes"; \
echo " Timer status: $$(systemctl --user is-active restic-backup.timer 2>/dev/null || echo 'inactive')"; \
- elif [ -f /root/.restic_env ]; then \
+ elif sudo [ -f /root/.restic_env ]; then \
echo "System scope configuration:"; \
echo " Config directory: /etc/restic/"; \
echo " Password file: /root/.restic_password"; \