Skip to content

Commit 5c04939

Browse files
committed
Fix
1 parent db9a863 commit 5c04939

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/palrcon/palrcon.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func (p *palRCON) execute(command string) (string, error) {
5252
result, err := rconn.Execute(command)
5353

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

5858
return result, nil

0 commit comments

Comments
 (0)