Skip to content

hlds_run uses wrong variable for auto restart #210

@Nextra

Description

@Nextra

The hlds_run start script uses the wrong variable to determine if the server should auto-restart after a crash.

line 275, run() function

if test $retval -eq 0 && test -z "$AUTO_UPDATE"; then
    break; # if 0 is returned then just quit
fi

It uses $AUTO_UPDATE instead of $RESTART so the script does not behave like it should. The same bug is existent in srcds_run.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions