Skip to content

Incorrect linux SteamCMD work without system environment variable "HOME" #6

@iTeeLion

Description

@iTeeLion

Linux SteamCMD use system environment variable "HOME" to create ".steam" folder in user home directory. Many source engine based servers use .steam folder to link to steamclient.so file and connect to steam. Without env variable steam creates folder "(null)" in it's own directory and game servers can't link steamclient.so file.

Solution:
Need to set env variable "HOME" before initialization steamcmd.
setenv("HOME", "/root", 1);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions