Skip to content

Use default config file if $HOME is not defined

https://gitlab.cern.ch/cta/operations/-/issues/911#note_6187281

Summary

When choosing the config file for cta-admin (user dir, cli argument or default), the program will throw an error if $HOME is not defined.

Steps to reproduce

Run cta-admin without $HOME being defined

Fix

Use default config file if $HOME is not defined