summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-12-31 12:07:15 -0500
committerDrew DeVault <sir@cmpwn.com>2018-12-31 12:07:15 -0500
commitab0eff3485705ebd3122abbb82e7a2a90fdf1d3c (patch)
treefe76fcf299d3a43bd2169a749034ab87ee7598bf
parentd185fa4e84c7e50ef5ceef83294e35a04d13a430 (diff)
Fix mansrht-keys shell name
-rwxr-xr-xmansrht-keys2
1 files changed, 1 insertions, 1 deletions
diff --git a/mansrht-keys b/mansrht-keys
index 50bf316..398e07f 100755
--- a/mansrht-keys
+++ b/mansrht-keys
@@ -23,7 +23,7 @@ u = User.query.filter(User.username == username).first()
if not u:
sys.stderr.write("Unknown user {}\n", username)
sys.exit(1)
-shell = os.path.join(os.path.dirname(sys.argv[0]), "man-srht-shell")
+shell = os.path.join(os.path.dirname(sys.argv[0]), "mansrht-shell")
keys = "command=\"{} '{}' '{}'\",".format(shell, u.id, b64key) + \
"no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty " + \
"{} {} {}".format(key_type, b64key, username) + "\n"