diff --git a/src/main.go b/src/main.go index e1161bb..038697c 100644 --- a/src/main.go +++ b/src/main.go @@ -153,7 +153,7 @@ func spawnSession(res *login.Result) error { defer creds.CloseSession() if err := creds.OpenSession(); err != nil { - return fmt.Errorf("pam session: %w", err) + log.Printf("pam session warning: %v", err) } session.SetBasicVariables(creds.Username, creds.HomeDir, creds.Shell, res.Config.InitialPath)