Obtain user home directory in an OS independent way.
$HOME is not set on every operating system (can you guess which one?). This resulted in errors because a configuration file path was constructed using an empty string. So use a different approach that should work for most major OS's.
Showing
Please register or sign in to comment