Using the check-config script: "Config does not exist" error

I get this when I try to run the check script:

hass --script check_config
Config does not exist: /root/.homeassistant/configuration.yaml
(hass) root@c1-hass:~#

The file really lives at:

/home/hass/.homeassistant/configuration.yaml

Any ideas on how to fix?

Cheers

hass -c /home/hass/.homeassistant/–script check_config

Thanks, it worked without the configuration.yaml part:

hass -c /home/hass/.homeassistant/ --script check_config

I guess I’ll take the ‘noob of the day’ award if no-one else is running so :slight_smile: