If an admin installs PBS Pro and then modifies the location of PBS_HOME in /etc/pbs.conf, pbs_habitat will attempt to run pbs_postinstall again to create the new PBS_HOME if it doesn't already exist. If the admin made a mistake while updating the config file, they likely don't want to create a new PBS_HOME. When this occurs, pbs_habitat should exit (code 1) and issue the following message:
WARNING: PBS_HOME not found in $PBS_HOME
Please update your configuration file or run the following command before starting PBS Pro:
The pbs_postinstall script will need to be updated to accept the "update" parameter and avoid making changes to pbs.conf in this case.