From 4518f775b804fb48e1f904c5a236ae849acd31da Mon Sep 17 00:00:00 2001 From: brent s Date: Wed, 30 Jun 2021 04:33:11 -0400 Subject: [PATCH] this should not be templated forgot i did a .format() on it later. lol thx again nosbig --- tools/add-borguser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/add-borguser.py b/tools/add-borguser.py index e50f0bb..62e238f 100755 --- a/tools/add-borguser.py +++ b/tools/add-borguser.py @@ -54,7 +54,7 @@ class UserAdder(object): key_template = ('command=' #'"cd {homedir};' #'borg serve --restrict-to-path {homedir}",' - '"/usr/local/bin/borg-restricted.py ${SSH_ORIGINAL_COMMAND}",' + '"/usr/local/bin/borg-restricted.py ${{SSH_ORIGINAL_COMMAND}}",' 'no-port-forwarding,' 'no-X11-forwarding,' 'no-pty,'