Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tsuzu committed Jan 24, 2024
1 parent db9a863 commit 5c04939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/palrcon/palrcon.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func (p *palRCON) execute(command string) (string, error) {
result, err := rconn.Execute(command)

if err != nil {
return "", fmt.Errorf("failed to execute ShowPlayers: %w", err)
return result, fmt.Errorf("failed to execute the command: %w", err)
}

return result, nil
Expand Down

0 comments on commit 5c04939

Please sign in to comment.