2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-22 02:48:55 +00:00

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.
This commit is contained in:
Andreas Olsson 2018-12-09 17:43:50 +01:00
parent 98526b8dbe
commit 7a6bfcd58c
No known key found for this signature in database
GPG Key ID: 210FE3E069ED67A8

View File

@ -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