Skip to content

Commit

Permalink
add number output to unknown error
Browse files Browse the repository at this point in the history
  • Loading branch information
zunda-arrow committed Jun 1, 2024
1 parent 315a179 commit 087b4f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion login/pam.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func pamReason(err C.int) string {
case C.PAM_ABORT:
return "ABORT lol"
default:
return "Unknown Error"
return fmt.Sprint("Unknown Error: ", err)
}
}

Expand Down

0 comments on commit 087b4f0

Please sign in to comment.