aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ssh_server.go2
-rw-r--r--ssh_utils.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/ssh_server.go b/ssh_server.go
index c1eac47..f6cb542 100644
--- a/ssh_server.go
+++ b/ssh_server.go
@@ -42,7 +42,7 @@ func serve_ssh(listener net.Listener) error {
}
clog.Info("Incoming SSH: " + session.RemoteAddr().String() + " " + client_public_key_string + " " + session.RawCommand())
- fmt.Fprintln(session.Stderr(), ansiec.Blue + "Lindenii Forge "+VERSION+", source at "+strings.TrimSuffix(config.HTTP.Root, "/")+"/:/source/" + ansiec.Reset + "\r")
+ fmt.Fprintln(session.Stderr(), ansiec.Blue+"Lindenii Forge "+VERSION+", source at "+strings.TrimSuffix(config.HTTP.Root, "/")+"/:/source/"+ansiec.Reset+"\r")
cmd := session.Command()
diff --git a/ssh_utils.go b/ssh_utils.go
index 48b25b9..6074dff 100644
--- a/ssh_utils.go
+++ b/ssh_utils.go
@@ -60,5 +60,5 @@ func get_repo_path_perms_from_ssh_path_pubkey(ctx context.Context, ssh_path stri
}
func wf_error(w io.Writer, format string, args ...any) {
- fmt.Fprintln(w, ansiec.Red + fmt.Sprintf(format, args...) + ansiec.Reset)
+ fmt.Fprintln(w, ansiec.Red+fmt.Sprintf(format, args...)+ansiec.Reset)
}