We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4267ec6 + 1fe4519 commit 606cdaaCopy full SHA for 606cdaa
src/modules/octopi/filesystem/home/root/bin/git
@@ -3,6 +3,8 @@
3
if [ "$(id -u)" == "0" ]
4
then
5
echo "Please do not run git as root, your regular user account is enough :)"
6
+ echo "The rationale behind this restriction is to prevent cloning the OctoPrint"
7
+ echo "repository as root, which will most likely break some functionality."
8
echo
9
echo "If you need to run git with root rights for some other application than"
10
echo "what comes preinstalled on this image you can remove this sanity check:"
0 commit comments