From 7a6bfcd58c5ced930b4d4f48bff53ae297633e58 Mon Sep 17 00:00:00 2001 From: Andreas Olsson Date: Sun, 9 Dec 2018 17:43:50 +0100 Subject: [PATCH] Remove moot sudo usage from documentation That usage of sudo only applies to the echo command itself. It has no effect on the permissions of the stdout redirect. --- doc/045_working_with_repos.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/045_working_with_repos.rst b/doc/045_working_with_repos.rst index 773234ca0..519238a51 100644 --- a/doc/045_working_with_repos.rst +++ b/doc/045_working_with_repos.rst @@ -66,7 +66,7 @@ backup with the intention to make you restore malicious data: .. code-block:: console - $ sudo echo "boom" >> backup/index/d795ffa99a8ab8f8e42cec1f814df4e48b8f49129360fb57613df93739faee97 + $ echo "boom" >> backup/index/d795ffa99a8ab8f8e42cec1f814df4e48b8f49129360fb57613df93739faee97 In order to detect these things, it is a good idea to regularly use the ``check`` command to test whether everything is alright, your precious